public function _isInThePage() { if (!$this->oProp->bIsAdmin) { return false; } if ($this->oProp->bIsAdminAjax && $this->oUtil->getElement($this->oProp->aPostTypeArgs, 'public', true)) { return true; } if (!in_array($this->oProp->sPageNow, array('edit.php', 'edit-tags.php', 'term.php', 'post.php', 'post-new.php'))) { return false; } if (isset($_GET['page'])) { return false; } return $this->oUtil->getCurrentPostType() === $this->oProp->sPostType; }