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, $morder );
- int; the ID of the user that custom code will be executed to, after check out, before any emails are sent out.
SourceView in Source Code
Related Articles and Recipes
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