do_action( ‘remove_user_role’, int $user_id, string $role )

In this article

Fires immediately after a role as been removed from a user.

Parameters

$user_idint
The user ID.
$rolestring
The removed role.

Source

do_action( 'remove_user_role', $this->ID, $role );

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.