Note: You are viewing the documentation for Version 3View Version 4 Docs

Documentation

View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

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

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP