Clanbite Players

apply_filters( 'clanbite_player_profile_url', string $url, int $user_id )

Filter the canonical player profile URL for a user.

Filter PHP

Parameters

$url (string)

Profile URL.

$user_id (int)

User ID.

Example

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

Defined in inc/extensions/players/functions.php