PATH:
home
/
lab2454c
/
equitablegold.com
/
wp-content
/
plugins
/
unlimited-elements-for-elementor
/
provider
<?php /** * @package Unlimited Elements * @author UniteCMS http://unitecms.net * @copyright Copyright (c) 2016 UniteCMS * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ //no direct accees defined ('UNLIMITED_ELEMENTS_INC') or die ('restricted aceess'); class UniteCreatorAdminWPPluginBase{ protected static $pluginName = ""; private static $arrMenuPages = array(); private static $arrSubMenuPages = array(); private static $capability = "manage_options"; private static $t; const ACTION_ADMIN_MENU = "admin_menu"; const ACTION_ADMIN_INIT = "admin_init"; const ACTION_ADD_SCRIPTS = "admin_enqueue_scripts"; const ACTION_WP_LOADED = "wp_loaded"; const ACTION_ADMIN_FOOTER = "admin_footer"; /** * * the constructor */ public function __construct(){ self::$t = $this; $this->init(); } /** * * add menu page */ protected function addMenuPage($title, $icon=null, $link=null){ self::$arrMenuPages[] = array("title"=>$title, "plugin_name"=>self::$pluginName, "pageFunction"=>"adminPages", "icon"=>$icon, "link"=>$link); } /** * * add sub menu page */ protected function addSubMenuPage($slug, $title, $realLink = false,$parentSlug = null){ self::$arrSubMenuPages[] = array( "slug"=>$slug, "title"=>$title, "plugin_name"=>self::$pluginName, "pageFunction"=>"adminPages", "realLink"=>$realLink, "parentSlug"=>$parentSlug); } /** * * add some wordpress action */ protected function addAction($action,$eventFunction, $numArgs=1){ add_action( $action, array($this, $eventFunction) ,10, $numArgs); } /** * * add some wordpress action */ protected function addFilter($action,$eventFunction,$numArgs){ add_action( $action, array($this, $eventFunction), 10, $numArgs); } /** * get menu arrays */ public static function getArrMenuPages(){ return(self::$arrMenuPages); } /** * return sub menu pages */ public static function getArrSubmenuPages(){ return(self::$arrSubMenuPages); } /** * init function */ protected function init(){ } }
[-] custom_post_types.class.php
[edit]
[-] provider_layouts_exporter.class.php
[edit]
[+]
..
[-] include_provider_after.php
[edit]
[-] provider_template_engine.class.php
[edit]
[-] provider_web_api.class.php
[edit]
[-] wpml_integrate.class.php
[edit]
[+]
core
[-] provider_admin.class.php
[edit]
[-] provider_admin_plugin_base.class.php
[edit]
[-] integrations.class.php
[edit]
[-] provider_globals.class.php
[edit]
[-] provider_front.class.php
[edit]
[-] provider_addon.class.php
[edit]
[-] provider_browser.class.php
[edit]
[-] provider_manager_addons.class.php
[edit]
[-] provider_dialog_param.class.php
[edit]
[-] include_provider.php
[edit]
[-] woocommerce_integrate.class.php
[edit]
[-] provider_settings_output.class.php
[edit]
[-] provider_categories.class.php
[edit]
[-] provider_operations.class.php
[edit]
[-] provider_helper.class.php
[edit]
[-] toolset_integrate.class.php
[edit]
[+]
settings
[-] provider_functions.class.php
[edit]
[+]
assets
[-] gutenberg_integrate.class.php
[edit]
[-] provider_alt_loader.php
[edit]
[-] provider_layouts.class.php
[edit]
[-] provider_layout_output.class.php
[edit]
[-] provider_settings.class.php
[edit]
[+]
admin_notices
[+]
views
[-] provider_library.class.php
[edit]
[-] wpml_translation_module.class.php
[edit]
[-] provider_settings_multisource.class.php
[edit]
[-] provider_client_text.php
[edit]
[+]
freemius
[-] provider_actions.class.php
[edit]
[-] pods_integrate.class.php
[edit]
[-] functions_wordpress.class.php
[edit]
[-] provider_db.class.php
[edit]
[-] provider_params_processor.class.php
[edit]
[-] acf_integrate.class.php
[edit]
[-] provider_params_processor_multisource.class.php
[edit]
[-] provider_layout.class.php
[edit]
[-] provider_output.class.php
[edit]