bp_at_mention_default_options()
Options for at mention js script
Description
Source
File: bp-xprofile/bp-xprofile-functions.php
function bp_at_mention_default_options() {
return apply_filters( 'bp_at_mention_js_options', [
'selectors' => [ '.bp-suggestions', '#comments form textarea', '.wp-editor-area' ],
'insert_tpl' => '@${ID}',
'display_tpl' => '<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'
] );
}
Changelog
| Version | Description |
|---|---|
| BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.