Profile::filter_page_title( object $_post )
Description #
Filter user page title.
Parameters #
- $_postobject (Required) WP post object.
Source #
File: addons/profile/profile.php
301 302 303 304 305 | public function filter_page_title( $_post ) { if ( 'user' === ap_current_page() && ap_opt( 'user_page' ) == $_post ->ID && ! is_admin() ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual $_post ->post_title = $this ->user_page_title(); } } |
Expand full source code Collapse full source code View on GitHub: addons/profile/profile.php:301
Add your comment