Hi. How can we help?

YITH WooCommerce Product Add-ons - Change the "select" predefined text "choose an option" to something else

It’s possible to change the “choose an option” text adding this PHP code in theme functions.php file:

add_filter( 'ywapo_empty_option_text', 'my_ywapo_empty_option_text', 20 );
function my_ywapo_empty_option_text() { return 'MY NEW STRING'; }
and replace the MY NEW STRING with your label.
Was this article helpful?
0 out of 0 found this helpful

Back to Help Center >

Powered by Zendesk