Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Last active December 21, 2019 11:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save plugin-republic/643e4250b430142be102ee043c8afa28 to your computer and use it in GitHub Desktop.
<?php
/**
* Filter 'View Product' text
*/
function prefix_filter_view_product_text( $text, $product ) {
return 'Select Options';
}
add_filter( 'pewc_filter_view_product_text', 'prefix_filter_view_product_text', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment