SearchWP

This Documentation is for SearchWP Version 3

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:

<?php
// 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

Parameters

Parameter Type Description
$use_name Boolean

Whether to use the taxonomy name instead of its label

[wpforms id="3080"]