umm_stripe_status_canceled
Triggers when the subscriptions has been cancelled.
Since 1.0.0do_action( 'umm_stripe_status_canceled', $um_user_id, $role_cancelled )
Parameters
$um_user_id integer
the user ID.
$role_cancelled string
the user Role.
Sample Usage
add_action( 'umm_stripe_status_canceled', 'um_04172024_stripe_status_canceled', 10, 2 );
function um_04172024_stripe_status_canceled( $um_user_id, $role_cancelled ){
// do something
}