Use this hook to execute custom code after a user checks out, before any emails are sent. This hook passes user ID of the WordPress user.


do_action("pmpro_after_checkout", int $user_id, $morder );

Parameters

$user_id
int; the ID of the user that custom code will be executed to, after check out, before any emails are sent out.
$morder

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/preheaders/checkout.php

View in Source Code

Related Articles for pmpro_after_checkout