public function _isInThePage() { if (!in_array($this->oProp->sPageNow, array('post.php', 'post-new.php'))) { return false; } if (!in_array($this->oUtil->getCurrentPostType(), $this->oProp->aPostTypes)) { return false; } return true; }