Created
July 24, 2019 15:57
-
-
Save clifgriffin/fe5aa8d24316c911f19758fef0380027 to your computer and use it in GitHub Desktop.
Change return to cart label and link.
This file contains 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
<?php | |
// Do NOT include the opening php tag. | |
// Place in your theme's functions.php file | |
add_filter( 'cfw_return_to_cart_link_url', function() { | |
return 'http://foo.test'; | |
} ); | |
add_filter( 'cfw_return_to_cart_link_text', function() { | |
return 'Return to foo'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment