Clanbite Social Kit Components Since 1.6.2

Turns @username into profile links (respecting each member's privacy setting) and loads the @ picker for editors.

Slug
mentions
Provider
cp_social_kit

Arguments

ArgumentDescription
htmlContent whose @mentions are linked.
author_idAuthor of the content (their privacy rules decide who may be mentioned).

Use it

echo clanbite_render_component( 'mentions', array( /* arguments */ ) );
clanbite_enqueue_component( 'mentions' );

Defined in inc/Social/Components.php

Changelog

VersionDescription
1.6.2Introduced.