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