Filter to proceed with setting up the new user and membership after the checkout page is submitted.
apply_filters( 'pmpro_setup_new_user', bool $pmpro_setup_new_user, int $user_id, array $new_user_array, object $pmpro_level );
- bool; Return true or false to proceed with inserting the user (default: true)
- int; the user ID
- array; The user data for the user to be created
- object; The level object for this checkout