Clanbite Social Kit Social Since 1.5.0

apply_filters( 'clanbite_social_kit_mention_picker_selectors', string[] $selectors )

Filters the CSS selectors of fields that get the @mention picker.

The feed composer, reply and edit boxes are included by default. Fields with the attribute data-cp-mentions always get it.

Filter PHP

Parameters

$selectors (string[])

CSS selectors.

Example

add_filter( 'clanbite_social_kit_mention_picker_selectors', function ( $selectors ) {
	// Change $selectors here.
	return $selectors;
}, 10, 1 );

Defined in inc/Social/Mention_Picker.php

Changelog

VersionDescription
1.5.0Introduced.