bp_member_is_loggedin_user

  • apply_filters( 'bp_member_is_loggedin_user', $bp->loggedin_user->id == $members_template->member->id ? true : false )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 469
      	 * @return string Members email address
      	 */
      	function bp_get_member_user_email() {
      		global $members_template;
      		return apply_filters( 'bp_get_member_user_email', $members_template->member->user_email );
      	}
      
      function bp_member_is_loggedin_user() {
      	global $bp, $members_template;
      	return apply_filters( 'bp_member_is_loggedin_user', $bp->loggedin_user->id == $members_template->member->id ? true : false );
      }
      
      function bp_member_avatar( $args = '' ) {
      	echo apply_filters( 'bp_member_avatar', bp_get_member_avatar( $args ) );
      }
      	function bp_get_member_avatar( $args = '' ) {
      		global $bp, $members_template;
      
      		$defaults = array(
      			'type' => 'thumb',
      

Comments are closed.