apply_filters( 'clanbite_social_kit_resolve_mention', array|null $entity, string $type, string $identifier, string $raw )Allow third-party plugins to resolve custom mention types.
Filter PHP
Parameters
$entity(array|null)Resolved entity or null.
$type(string)Mention type.
$identifier(string)Mention identifier (slug/username).
$raw(string)Raw mention string.
Example
add_filter( 'clanbite_social_kit_resolve_mention', function ( $entity, $type, $identifier, $raw ) {
// Change $entity here.
return $entity;
}, 10, 4 );Defined in inc/Social/Mentions.php