AnsPress_Profile_Hooks::filter_page_title( object $_post )

Description #

Filter user page title.

Parameters #

  • $_post
    object (Required) WP post object.

Source #

File: addons/free/profile.php

	public static function filter_page_title( $_post ) {
		if ( 'user' === ap_current_page() && ap_opt( 'user_page' ) == $_post->ID && ! is_admin() ) {
			$_post->post_title = self::user_page_title();
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment