do_action( 'um_after_delete_role', $role_key, $role_meta )
Fires after delete UM role.
Parameters:
Name | Type | Description |
---|---|---|
$role_key |
string | Role key. |
$role_meta |
array | Role meta. |
- Since:
- 2.6.3
- Source:
Example
function my_custom_um_after_delete_role( $role_key, $role_meta ) {
// your code here
}
add_action( 'um_after_delete_role', 'my_custom_um_after_delete_role', 10, 2 );