AnsPress_Tag::ap_current_page( string $query_var )
Description #
Modify current page to show tag archive.
Parameters #
- $query_varstring (Required) Current page.
Source #
File: addons/free/tag.php
public static function ap_current_page( $query_var ) {
if ( 'tags' === $query_var && 'tag' === get_query_var( 'ap_page' ) ) {
return 'tag';
}
return $query_var;
}
Expand full source code Collapse full source code View on GitHub: addons/free/tag.php:637
Add your comment