public function __construct($sOptionKey = null, $sCallerPath = null, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework') { parent::__construct($sOptionKey, $sCallerPath, $sCapability, $sTextDomain); if ($this->oProp->bIsAdminAjax) { return; } add_action('admin_head', array($this, '_replyToEnableMetaBox')); }
public function __construct($sOptionKey = null, $sCallerPath = null, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework') { parent::__construct($sOptionKey, $sCallerPath, $sCapability, $sTextDomain); if ($this->oProp->bIsAdminAjax) { return; } add_action('admin_head', array($this, '_replyToEnableMetaBox')); add_filter('screen_layout_columns', array($this, '_replyToSetNumberOfScreenLayoutColumns'), 10, 2); }