indikatordesign

Change Add to cart Button Text in WooCommerce

Apr 14th, 2017
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'woocommerce_product_single_add_to_cart_text', function()
  2. {
  3.  
  4.     return 'My Text';
  5.  
  6. }, 999 ); // end add_filter
RAW Paste Data