Profile::ap_current_page( string $query_var )
Description #
Override current page of AnsPress.
Parameters #
- $query_varstring (Required) Current page name.
Source #
File: addons/profile/profile.php
public 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/profile/profile.php:468
Add your comment