Clanbite Social Kit

parse_mentions( string $content ): array<int, array{type: string, identifier: string, raw: string}>

Parse mentions from content.

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Mentions

Parameters

$content (string) Required

Post or comment content.

Returns

array<int, array{type: string, identifier: string, raw: string}> Parsed mentions.

Defined in inc/Social/Mentions.php