Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
direct_stripe_success_user_email_content filter hook example
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
You can’t perform that action at this time.