Clanbite Social Kit General

apply_filters( 'clanbite_social_kit_friend_invites_settings_url', string $url, int $for_user_id )

Filter the player settings URL used for friend invites (notifications, profile hints).

Filter PHP

Parameters

$url (string)

Default /players/settings/friends/friends-invites/ under home URL.

$for_user_id (int)

Recipient user ID passed to the helper (0 if unknown).

Example

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

Defined in inc/functions.php