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


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

Available since: 2.9.10


View Parameters »

By default SearchWP uses taxonomy labels in the engine configuration interface. If you would prefer that SearchWP use taxonomy names you can use this hook:

// Tell SearchWP to use taxonomy names instead of labels in the engine config UI.
add_filter( 'searchwp_engine_use_taxonomy_name', '__return_true' );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$use_name Boolean

Whether to use the taxonomy name instead of its label

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