Clanbite Social Kit Social

apply_filters( 'clanbite_social_kit_parsed_mentions', array $mentions, string $content )

Filter parsed mentions before resolution.

Filter PHP

Parameters

$mentions (array)

Parsed mention data.

$content (string)

Original content.

Example

add_filter( 'clanbite_social_kit_parsed_mentions', function ( $mentions, $content ) {
	// Change $mentions here.
	return $mentions;
}, 10, 2 );

Defined in inc/Social/Mentions.php