Created
June 17, 2019 18:38
-
-
Save dparker1005/237decb46d862bf9d0e08cc3cc7a6e13 to your computer and use it in GitHub Desktop.
Changes the order description sent to Stripe from PMPro checkout.
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_pmpro_change_stripe_description( $description, $MemberOrder ) { | |
return 'This is my new description.'; | |
} | |
add_filter("pmpro_stripe_order_description", "my_pmpro_change_stripe_description", 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment