Clanbite Social Kit Social

apply_filters( 'clanbite_social_kit_post_url', string $url, int $post_id )

Filter the URL for a social post (for mention and reply notifications).

Filter PHP

Parameters

$url (string)

Post URL (defaults to the post author archive / player profile when available).

$post_id (int)

Post ID.

Example

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

Defined in inc/Social/Mentions.php