Skip to content

Instantly share code, notes, and snippets.

@marcusig
Last active June 23, 2021 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusig/6a63106f8b55b40547a3573792cb46f0 to your computer and use it in GitHub Desktop.
Save marcusig/6a63106f8b55b40547a3573792cb46f0 to your computer and use it in GitHub Desktop.
Change the label of the add to cart button in the product configurator
<?php
add_filter( 'mkl_pc/add_to_cart_button/default_label', function() {
return 'New add to cart label';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment