Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-content/plugins/ova-brw/ova-brw.php
Назад
<?php /* Plugin Name: Travel and Tour Booking Plugin Plugin URI: https://themeforest.net/user/ovatheme/portfolio Description: OvaTheme Travel and Tour Booking WooCommerce Plugin. Author: Ovatheme Version: 1.3.5 Author URI: https://themeforest.net/user/ovatheme Text Domain: ova-brw Domain Path: /languages/ */ if ( !defined( 'ABSPATH' ) ) exit(); if( !class_exists( 'OVABRW' ) ) { class OVABRW { /** * OVABRW Constructor */ public function __construct() { $this->define_constants(); $this->includes(); add_action('init',array($this, 'ovabrw_manage_booking' ) ); $this->ovabrw_register_elementor(); } /** * Define constants */ public function define_constants() { define( 'OVABRW_PLUGIN_FILE', __FILE__ ); define( 'OVABRW_PLUGIN_URI', plugin_dir_url( __FILE__ ) ); define( 'OVABRW_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); load_plugin_textdomain( 'ova-brw', false, basename( dirname( __FILE__ ) ) .'/languages' ); } /** * Include files */ public function includes() { // Funciton require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-functions.php' ); // Add taxonomy type require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-taxonomy.php' ); // Add Js Css require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-assets.php' ); // Cart require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-cart.php' ); // Calculate Before add to cart require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-cus-cal-cart.php' ); // Get order require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-get-data.php' ); // Add tab beside description require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-extra-tab.php' ); // Filter name require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw_hooks.php' ); // Deposit require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw_deposit.php' ); // Ajax require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw_ajax.php' ); // Register Custom Post Type require_once( OVABRW_PLUGIN_PATH.'/custom-post-type/register_cpt.php' ); // Shortcode // require_once( OVABRW_PLUGIN_PATH.'/shortcodes/shortcodes.php' ); // Cron require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-cron.php' ); // Send mail require_once( OVABRW_PLUGIN_PATH.'/inc/ovabrw-mail.php' ); } public function ovabrw_manage_booking(){ require_once( OVABRW_PLUGIN_PATH.'/admin/init.php' ); } function ovabrw_register_elementor() { /* Make Elementors */ if ( did_action( 'elementor/loaded' ) ) { include OVABRW_PLUGIN_PATH.'elementor/ovabrw-register-elementor.php'; } } } } if(!function_exists('is_plugin_active')){ include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below } if ( is_plugin_active( 'woocommerce/woocommerce.php' )) { new OVABRW(); }
| ver. 1.6 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка