public function __construct($oFactory) { $this->oFactory = $oFactory; add_action('admin_head', array($this, '_replyToEnableMetaBox')); }