Clanbite Avatars Since 1.2.0

apply_filters( 'clanbite_default_avatar_url', string $url, string $type )

Filter default avatar URL.

Filter PHP

Parameters

$url (string)

Default URL.

$type (string)

Entity type.

Example

add_filter( 'clanbite_default_avatar_url', function ( $url, $type ) {
	// Change $url here.
	return $url;
}, 10, 2 );

Defined in inc/avatar-helpers.php

Changelog

VersionDescription
1.2.0Introduced.