HEX
Server: nginx/1.24.0
System: Linux prod-btpayments-io 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: /var/www/BtPayments/BtPayments-home/wp-content/themes/calcue-child/structures/archive.php
<?php

if ( ! class_exists( 'Garage_Structure_Archive' ) ) {

	/**
	 * Define Garage_Structure_Archive class
	 */
	class Garage_Structure_Archive extends Jet_Theme_Core_Structure_Base {

		public function get_id() {
			return 'calcue_archive';
		}

		public function get_single_label() {
			return esc_html__( 'Garage Archive', 'calcue' );
		}

		public function get_plural_label() {
			return esc_html__( 'Garage Archives', 'calcue' );
		}

		public function get_sources() {
			return array();
		}

		public function get_document_type() {
			return array(
				'class' => 'Garage_Archive_Document',
				'file'  => get_theme_file_path( 'document-types/archive.php' ),
			);
		}

		/**
		 * Is current structure could be outputed as location
		 *
		 * @return boolean
		 */
		public function is_location() {
			return true;
		}

		/**
		 * Location name
		 *
		 * @return boolean
		 */
		public function location_name() {
			return 'calcue_archive';
		}

		/**
		 * Aproprite location name from Elementor Pro
		 *
		 * @return [type] [description]
		 */
		public function pro_location_mapping() {
			return 'archive';
		}

	}

}