bp_members_get_user_nicename

  • apply_filters( 'bp_members_get_user_nicename', $user_nicename )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-functions.php :: Trac Source Line: 321
      	// Nicename found in cache so don't update it again
      	} else {
      		$update_cache = false;
      	}
      
      	// Add this to cache
      	if ( true == $update_cache && !empty( $user_nicename ) )
      		wp_cache_set( 'bp_members_user_nicename_' . $user_id, $user_nicename, 'bp' );
      
      	return apply_filters( 'bp_members_get_user_nicename', $user_nicename );
      }
      
      /**
       * Returns the email address for the user based on user ID
       *
       * @package BuddyPress Core
       * @param $uid int User ID to check.
       * @uses get_userdata() WordPress function to fetch the userdata for a user ID
       * @return false on no match
       * @return str The email for the matched user.
      

Comments are closed.