Created
February 3, 2023 19:50
-
-
Save kankadev/6cb941aa63b5d25ec0259827520862f3 to your computer and use it in GitHub Desktop.
[Rename Elementor "add to cart" button] Rename Elementor (single) add to cart button. #elementor #wordpress #php #functions.php
This file contains hidden or 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
add_filter('woocommerce_product_single_add_to_cart_text', function ($label) { | |
return 'Jetzt buchen!'; | |
}, 9999999); | |
add_filter('woocommerce_product_add_to_cart_text', function ($label) { | |
return 'Jetzt buchen!'; | |
}, 9999999); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment