Created
September 7, 2017 16:32
-
-
Save New0/b9a7fa9aef591fd04bd41dd57b5b6083 to your computer and use it in GitHub Desktop.
direct_stripe_success_user_email_content filter hook example
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( 'direct_stripe_success_user_email_content', function( $message, $token, $amount, $currency, $email_address, $description, $user_id, $button_id){ | |
$message = 'User ' . $email_address . ' have been charged ' . $amount . $currency . ' for ' . $description; | |
return $message; | |
}, 10, 8 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment