Clanbite Social Kit JavaScript Since 1.5.0
wp.hooks.applyFilters( 'clanbite.mentions.selectors', string selectors )Filters the selector list of fields that get the @mention picker.
Filter JavaScript
Parameters
$selectors(string)Comma-separated CSS selectors.
Example
wp.hooks.addFilter( 'clanbite.mentions.selectors', 'my-plugin/handler', function ( selectors ) {
return selectors;
} );Defined in assets/js/clanbite-mentions-picker.js
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |