umm_stripe_status_{$status}

Assign Role based on the role set in the Stripe Plan settings.

Since 1.0.0
do_action( 'umm_stripe_status_{$status}', $user_id, $role )

Parameters

$user_id integer
the user ID.
$role string
the user Role.

Sample Usage

add_action( 'umm_stripe_status_{$status}', 'um_04172024_stripe_status___status_', 10, 2 );
function um_04172024_stripe_status___status_( $user_id, $role ){
 // do something
}

Nothing was found