AnsPress_Profile_Hooks::ap_current_page( string $query_var )
Description #
Override current page of AnsPress.
Parameters #
- $query_varstring (Required) Current page name.
Source #
File: addons/free/profile.php
public static function ap_current_page( $query_var ) { if ( is_author() && 'user' === get_query_var( 'ap_page' ) ) { $query_var = 'user'; } return $query_var; }
Expand full source code Collapse full source code View on GitHub: addons/free/profile.php:393
Add your comment