public static function isCustomTaxonomyPage($asPostTypes = array()) { if (!in_array(self::getPageNow(), array('tags.php', 'edit-tags.php', 'term.php'))) { return false; } return self::isCurrentPostTypeIn($asPostTypes); }