bp_core_fetch_avatar_no_grav

  • apply_filters( 'bp_core_fetch_avatar_no_grav', $no_grav ) )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-avatars.php :: Trac Source Line: 255
      			} else {
      				return apply_filters( 'bp_core_fetch_avatar_url', $avatar_url );
      			}
      		}
      	}
      
      	// If no avatars could be found, try to display a gravatar
      
      	// Skips gravatar check if $no_grav is passed
      	if ( ! apply_filters( 'bp_core_fetch_avatar_no_grav', $no_grav ) ) {
      
      		// Set gravatar size
      		if ( $width )
      			$grav_size = $width;
      		else if ( 'full' == $type )
      			$grav_size = bp_core_avatar_full_width();
      		else if ( 'thumb' == $type )
      			$grav_size = bp_core_avatar_thumb_width();
      
      		// Set gravatar type
      

Comments are closed.