/** * init hook */ public function _init_hook() { //Increase the memory limit if (!defined('WP_MEMORY_LIMIT')) { define('WP_MEMORY_LIMIT', '64MB'); } ini_set('memory_limit', '3G'); //debug mode self::do_debug_mode(); //desploy footer skin NHP_Options_footer::do_footer_skin(); }
/** * init hook * @hook init */ public function _init_hook() { //Increase the memory limit if (!defined('WP_MEMORY_LIMIT')) { define('WP_MEMORY_LIMIT', '64MB'); } ini_set('memory_limit', '3G'); do_action('hw_hoangweb_loaded'); //load after all masterial loaded in this plugin //desploy footer skin NHP_Options_footer::do_footer_skin(); }