Clanbite Social Kit

class Mentions

Mentions handler.

class final

Full name
Kernowdev\ClanbiteSocialKit\Social\Mentions

Constants

NameValueDescription
MENTION_PATTERN'/(?<![\w@])@([a-zA-Z0-9_-]+(?::[a-zA-Z0-9_-]+)?)/'Mention pattern: @username or @team:slug or @group:slug Supports alphanumeric, underscores, hyphens.

Methods

Defined in inc/Social/Mentions.php

Changelog

VersionDescription
1.6.0Updated.
1.5.0Updated.