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
| Argument | Description |
|---|---|
html | Content whose @mentions are linked. |
author_id | Author 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
| Version | Description |
|---|---|
| 1.6.2 | Introduced. |