Clanbite Avatars Since 1.2.0

apply_filters( 'clanbite_avatar_profile_url', string $url, string $type, int $id )

Filter profile URL.

Filter PHP

Parameters

$url (string)

Profile URL.

$type (string)

Entity type.

$id (int)

Entity ID.

Example

add_filter( 'clanbite_avatar_profile_url', function ( $url, $type, $id ) {
	// Change $url here.
	return $url;
}, 10, 3 );

Defined in inc/avatar-helpers.php

Changelog

VersionDescription
1.2.0Introduced.