bp_get_loggedin_user_fullname

  • apply_filters( 'bp_get_loggedin_user_fullname', isset( $bp->loggedin_user->fullname ) ? $bp->loggedin_user->fullname : '' )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 908
      	}
      	function bp_user_fullname() { echo bp_get_displayed_user_fullname(); }
      
      function bp_loggedin_user_fullname() {
      	echo bp_get_loggedin_user_fullname();
      }
      	function bp_get_loggedin_user_fullname() {
      		global $bp;
      		return apply_filters( 'bp_get_loggedin_user_fullname', isset( $bp->loggedin_user->fullname ) ? $bp->loggedin_user->fullname : '' );
      	}
      
      function bp_displayed_user_username() {
      	echo bp_get_displayed_user_username();
      }
      	function bp_get_displayed_user_username() {
      		global $bp;
      
      		if ( !empty( $bp->displayed_user->id ) ) {
      			$username = bp_core_get_username( $bp->displayed_user->id, $bp->displayed_user->userdata->user_nicename, $bp->displayed_user->userdata->user_login );
      

Comments are closed.