Submit
Path:
~
/
home
/
getwphos
/
www
/
radkingpanels
/
wp-content
/
plugins
/
poolax-core
/
File Content:
poolax-core.php
<?php /** * * Plugin Name: Poolax Core * Description: This is a helper plugin of poolax theme * Version: 1.0 * Author: Themeholy * Author URI: https://themeforest.net/user/themeholy * License: GPL2 * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Domain Path: /languages * Text Domain: poolax * */ // Blocking direct access if( ! defined( 'ABSPATH' ) ) { exit(); } // Define Constant define( 'POOLAX_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'POOLAX_PLUGIN_INC_PATH', plugin_dir_path( __FILE__ ) . 'inc/' ); define( 'POOLAX_PLUGIN_CMB2EXT_PATH', plugin_dir_path( __FILE__ ) . 'cmb2-ext/' ); define( 'POOLAX_PLUGIN_WIDGET_PATH', plugin_dir_path( __FILE__ ) . 'inc/widgets/' ); define( 'POOLAX_PLUGDIRURI', plugin_dir_url( __FILE__ ) ); define( 'POOLAX_ADDONS', plugin_dir_path( __FILE__ ) .'addons/' ); define( 'POOLAX_ASSETS', plugin_dir_url( __FILE__ ) .'assets/' ); define( 'POOLAX_CORE_PLUGIN_TEMP', plugin_dir_path( __FILE__ ) .'poolax-template/' ); // load textdomain add_action('init', function() { load_plugin_textdomain('poolax', false, basename( dirname( __FILE__ ) ) . '/languages'); }); //include file. require_once POOLAX_PLUGIN_INC_PATH .'poolaxcore-functions.php'; require_once POOLAX_PLUGIN_INC_PATH .'builder/builder.php'; require_once POOLAX_PLUGIN_INC_PATH . 'MCAPI.class.php'; require_once POOLAX_PLUGIN_INC_PATH .'poolaxajax.php'; require_once POOLAX_PLUGIN_CMB2EXT_PATH . 'cmb2ext-init.php'; //Widget require_once POOLAX_PLUGIN_WIDGET_PATH . 'recent-post-widget.php'; require_once POOLAX_PLUGIN_WIDGET_PATH . 'search-form.php'; require_once POOLAX_PLUGIN_WIDGET_PATH . 'categories-lists.php'; require_once POOLAX_PLUGIN_WIDGET_PATH . 'about-us-widget.php'; // require_once POOLAX_PLUGIN_WIDGET_PATH . 'author-widget.php'; require_once POOLAX_PLUGIN_WIDGET_PATH . 'offer-banner.php'; //addons require_once POOLAX_ADDONS . 'addons.php'; require_once POOLAX_ADDONS . 'addons-style-functions.php'; require_once POOLAX_ADDONS . 'addons-field-functions.php'; // Register widget styles add_action( 'elementor/editor/after_enqueue_scripts', 'widget_styles' ); function widget_styles() { wp_register_style( 'editor-style-1', plugins_url( 'assets/css/editor.css', __FILE__ ) ); wp_enqueue_style( 'editor-style-1' ); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
addons
---
0755
assets
---
0755
cmb2-ext
---
0755
inc
---
0755
languages
---
0755
poolax-template
---
0755
poolax-core.php
2320 bytes
0644
N4ST4R_ID | Naxtarrr