Use this action to execute custom code after a user checks out, before any emails are sent. This hook passes the WordPress user’s id number and the membership order number.
do_action( 'pmpro_after_checkout', int $user_id, MemberOrder object $morder );
- int; the ID of the user that custom code will be executed to, after check out, before any emails are sent out.
- MemberOrder object
SourceView in Source Code
Related Articles and Recipes
Using Subscription Delays Add On for One-Time, Credit Card Required Trials By Kimberly Coleman
Award MyCRED Points for Membership By Andrew Lima
Set Display Name for BuddyPress Profile at Membership Checkout By Kimberly Coleman
Track Membership Signups and Stats on a Mobile Device By Kimberly Coleman
Restrict Discount Code Usage to One Time Per User By Kimberly Coleman
Membership Checkout Notification Methods via Apps, Text Message or Slack By Kimberly Coleman
Non-US Taxes with Paid Memberships Pro By Jason Coleman