public function __construct($oProp, $oMsg) { if (is_network_admin() && $this->isDebugMode()) { add_action('in_admin_footer', array($this, '_replyToSetPageLoadInfoInFooter'), 999); } parent::__construct($oProp, $oMsg); }
function __construct($oProp, $oMsg) { if (is_network_admin() && defined('WP_DEBUG') && WP_DEBUG) { add_action('in_admin_footer', array($this, '_replyToSetPageLoadInfoInFooter'), 999); } parent::__construct($oProp, $oMsg); }
function __construct($oProp, $oMsg) { if (is_network_admin() && defined('WP_DEBUG') && WP_DEBUG) { add_action('in_admin_footer', array($this, '_replyToSetPageLoadInfoInFooter'), 999); // must be loaded after the sub pages are registered } parent::__construct($oProp, $oMsg); }