Profile::user_page_title()
Description #
Profile page title.
Source #
File: addons/profile/profile.php
public function user_page_title() { $this->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/profile/profile.php:270
Add your comment