Skip to content

Instantly share code, notes, and snippets.

@dparker1005
Created June 17, 2019 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dparker1005/237decb46d862bf9d0e08cc3cc7a6e13 to your computer and use it in GitHub Desktop.
Save dparker1005/237decb46d862bf9d0e08cc3cc7a6e13 to your computer and use it in GitHub Desktop.
Changes the order description sent to Stripe from PMPro checkout.
<?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