AnsPress_Profile_Hooks::user_page_title()
Description #
Source #
File: addons/free/profile.php
public static function user_page_title() { SELF::user_pages(); $title = ap_user_display_name( ap_current_user_id() ); $current_tab = sanitize_title( get_query_var( 'user_page', ap_opt( 'user_page_slug_questions' ) ) ); $page = ap_search_array( anspress()->user_pages, 'rewrite', $current_tab ); if ( ! empty( $page ) ) { return $title . ' | ' . $page[0]['label']; } }
Expand full source code Collapse full source code View on GitHub: addons/free/profile.php:229
Add your comment