SHARE
TWEET

Untitled

a guest Jun 24th, 2010 195 Never
  1. function ray_bp_page_title( $title ) {
  2.         global $bp;
  3.  
  4.         if ( bp_is_member() ) {
  5.                 $title = str_replace( $bp->displayed_user->fullname, $bp->displayed_user->userdata->user_login, $title );
  6.         }
  7.  
  8.         return $title;
  9. }
  10. add_filter( 'bp_page_title', 'ray_bp_page_title' );
RAW Paste Data
Top