bp_get_user_firstname

  • apply_filters( 'bp_get_user_firstname', $fullname[0], $fullname )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 854
      		if ( empty( $name ) )
      			$name = $bp->displayed_user->fullname;
      
      		// Fall back on logged in user
      		if ( empty( $name ) )
      			$name = $bp->loggedin_user->fullname;
      
      		$fullname = (array)explode( ' ', $name );
      
      		return apply_filters( 'bp_get_user_firstname', $fullname[0], $fullname );
      	}
      
      function bp_loggedin_user_link() {
      	echo bp_get_loggedin_user_link();
      }
      	function bp_get_loggedin_user_link() {
      		return apply_filters( 'bp_get_loggedin_user_link', bp_loggedin_user_domain() );
      	}
      
      function bp_displayed_user_link() {
      

Comments are closed.