SearchWP

Available since: 3.0

searchwp_index_emoji

View Parameters »

Note: You should review this filter before installing SearchWP

By default SearchWP will not index emoji. If your site depends on searching by emoji you can tell SearchWP to index emoji and make emoji searchable with this hook:

<?php
// Tell SearchWP to index emoji.
add_filter( 'searchwp_index_emoji', '__return_true' );
view raw functions.php hosted with ❤ by GitHub

Parameters

Parameter Type Description
$index_emoji Boolean

Whether emoji should be indexed