Created
April 6, 2021 18:40
-
-
Save DumahX/9021224a078d8bde98458f69cc31d1be to your computer and use it in GitHub Desktop.
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 mepr_change_stripe_checkout_desc( $desc, $payment ) { | |
if ( isset( $payment->settings->stripe_checkout_enabled ) && $payment->settings->stripe_checkout_enabled == 'on' ) { | |
$desc = "Pay with Apple Pay"; // Edit this. | |
} | |
return $desc; | |
} | |
add_filter( 'mepr_signup_form_payment_description', 'mepr_change_stripe_checkout_desc', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment