Action: um_before_user_status_is_set

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

Fires before User status is set.

Parameters:
Name Type Description
$status string

New status key.

$user_id int

User ID.

$old_status string

Old status key.

Since:
  • 2.8.7
Source: