AnsPress_Tag::ap_current_page_is( string $page )
Description #
Override ap_current_page_is function to check if tags or tag page.
Parameters #
- $pagestring (Required) Current page slug.
Source #
File: addons/free/tag.php
public static function ap_current_page_is( $page ) {
if ( is_question_tags() ) {
$page = 'tags';
} elseif ( is_question_tag() ) {
$page = 'tag';
}
return $page;
}
Expand full source code Collapse full source code View on GitHub: addons/free/tag.php:582
Add your comment