Last active
February 27, 2016 18:24
-
-
Save amdrew/7181379 to your computer and use it in GitHub Desktop.
Modify the "return to website" text on the PayPal confirmation page, when customer is sent from Easy Digital Downloads. The default text is your site title
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 | |
function my_child_theme_edd_paypal_redirect_args( $paypal_args ) { | |
$paypal_args['cbt'] = 'Return to our site to complete your purchase'; | |
return $paypal_args; | |
} | |
add_filter( 'edd_paypal_redirect_args', 'my_child_theme_edd_paypal_redirect_args' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment