bp_get_displayed_user_avatar

  • apply_filters( 'bp_get_displayed_user_avatar', bp_core_fetch_avatar( array( 'item_id' => $bp->displayed_user->id, 'type' => $type, 'width' => $width, 'height' => $height, 'html' => $html, 'alt' => $alt ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 806
      			'width'  => false,
      			'height' => false,
      			'html'   => true,
      			'alt'    => __( 'Profile picture of %s', 'buddypress' )
      		);
      
      		$r = wp_parse_args( $args, $defaults );
      		extract( $r, EXTR_SKIP );
      
      		return apply_filters( 'bp_get_displayed_user_avatar', bp_core_fetch_avatar( array( 'item_id' => $bp->displayed_user->id, 'type' => $type, 'width' => $width, 'height' => $height, 'html' => $html, 'alt' => $alt ) ) );
      	}
      
      function bp_displayed_user_email() {
      	echo bp_get_displayed_user_email();
      }
      	function bp_get_displayed_user_email() {
      		global $bp;
      
      		// If displayed user exists, return email address
      		if ( isset( $bp->displayed_user->userdata->user_email ) )
      

Comments are closed.