Action: um_after_user_status_is_changed

do_action( 'um_after_user_status_is_changed', $status, $user_id, $old_status )

Fires just after User status is changed.

Parameters:
Name Type Description
$status string

Status key.

$user_id int

User ID. Since 2.0

$old_status string

Old status key. Since 2.8.7

Since:
  • 2.8.7 Added $old_status
Source: