PK qhYξΆJίF ίF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/cheaptravel.live/wp-content/plugins/anti-spam/libs/factory/templates/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/cheaptravel.live/wp-content/plugins/anti-spam/libs/factory/templates/boot.php |
<?php /** * Factory Templates * * @author Alex Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv * @since 1.0.2 * @package clearfy * @copyright (c) 2018, Webcraftic Ltd * */ // Exit if accessed directly if( !defined('ABSPATH') ) { exit; } if( defined('FACTORY_TEMPLATES_116_LOADED') ) { return; } define('FACTORY_TEMPLATES_116_LOADED', true); define('FACTORY_TEMPLATES_116', '1.1.6'); define('FACTORY_TEMPLATES_116_DIR', dirname(__FILE__)); define('FACTORY_TEMPLATES_116_URL', plugins_url(null, __FILE__)); load_plugin_textdomain('wbcr_factory_templates_116', false, dirname(plugin_basename(__FILE__)) . '/langs'); require(FACTORY_TEMPLATES_116_DIR . '/includes/ajax-handlers.php'); require(FACTORY_TEMPLATES_116_DIR . '/includes/class-helpers.php'); require(FACTORY_TEMPLATES_116_DIR . '/includes/class-configurate.php'); // module provides function only for the admin area if( is_admin() ) { /** * ΠΠΎΠ΄ΠΊΠ»ΡΡΠ°Π΅ΠΌ ΡΠΊΡΠΈΠΏΡΡ Π΄Π»Ρ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΠΎΠ² Clearfy * Π½Π° Π²ΡΠ΅ ΡΡΡΠ°Π½ΠΈΡΡ Π°Π΄ΠΌΠΈΠ½ΠΏΠ°Π½Π΅Π»ΠΈ. */ add_action('admin_enqueue_scripts', function ($hook) { wp_enqueue_script('wbcr-factory-templates-116-global', FACTORY_TEMPLATES_116_URL . '/assets/js/clearfy-globals.js', [ 'jquery', 'wfactory-466-core-general' ], FACTORY_TEMPLATES_116); require_once FACTORY_TEMPLATES_116_DIR . '/includes/class-search-options.php'; $all_options = \WBCR\Factory_Templates_116\Search_Options::get_all_options(); if( empty($all_options) ) { return; } $allow_print_data = false; $formated_options = []; foreach($all_options as $option) { //if( !$allow_print_data && isset($_GET['page']) && $option['page_id'] === $_GET['page'] ) { //$allow_print_data = true; //} $formated_options[] = [ 'value' => $option['title'], 'data' => [ //'hint' => isset($option['hint']) ? $option['hint'] : '', 'page_url' => $option['page_url'], 'page_id' => $option['page_id'] ] ]; } //if( !$allow_print_data ) { //return; //} wp_localize_script('wbcr-factory-templates-116-global', 'wfactory_clearfy_search_options', $formated_options); }); if( defined('FACTORY_PAGES_466_LOADED') ) { require(FACTORY_TEMPLATES_116_DIR . '/pages/templates/impressive/class-page-template-impressive.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/templates/impressive/class-pages.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/templates/impressive-lite/class-page-template-impressive-lite.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/class-page-more-features.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/class-page-license.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/class-pages-components.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/setup-parts/class-step.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/setup-parts/class-step-form.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/setup-parts/class-step-custom.php'); require(FACTORY_TEMPLATES_116_DIR . '/pages/class-page-setup.php'); } }