Available since: 2.9.10
searchwp_engine_use_taxonomy_name
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Tell SearchWP to use taxonomy names instead of labels in the engine config UI. | |
add_filter( 'searchwp_engine_use_taxonomy_name', '__return_true' ); |
Parameters
Parameter | Type | Description |
---|---|---|
$use_name |
Boolean |
Whether to use the taxonomy name instead of its label |