Last active
December 23, 2021 06:43
-
-
Save codersaiful/c46a108f02dee23e44fee33f352e2ea3 to your computer and use it in GitHub Desktop.
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 | |
function ca_ua_remove_placeholder( $WPT_DATA ){ | |
$WPT_DATA['search_select_placeholder'] = "Choose your text"; | |
//To hide placeholder, leave empty value | |
//$WPT_DATA['search_select_placeholder'] = ""; | |
return $WPT_DATA; | |
} | |
add_filter('wpto_localize_data', 'ca_ua_remove_placeholder'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment