This Documentation is for SearchWP Version 3

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