Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Custom Add 2 Cart Button*/
- add_filter( 'add_to_cart_text', 'woo_custom_single_add_to_cart_text' ); // < 2.1
- add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_single_add_to_cart_text' ); // 2.1 +
- function woo_custom_single_add_to_cart_text() {
- return __( 'Kurs buchen', 'woocommerce' );
- }
- /* Custom Add 2 Cart Button ENDE */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement