Created
November 1, 2023 11:30
-
-
Save codersaiful/3e6aa7c9c5b5cd33d490ac85c3e7182b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
//Add code to your functions.php file or using code snippet plugin from this line | |
add_filter('wpto_searchbox_taxonomy_name','wpto_custom_searchbox_taxonomy_name', 10, 3); | |
function wpto_custom_searchbox_taxonomy_name($taxonomy_menu_name, $taxonomy_details, $table_id){ | |
//If want to set based on $table_id | |
//Here 123 is your selected table id. and uncomment following line | |
// if($table_id !== 123) return $taxonomy_menu_name; | |
if($taxonomy_menu_name == 'Categories'){ | |
return "Music Style"; | |
} | |
return $taxonomy_menu_name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment