Action: um_after_delete_role_meta

do_action( 'um_after_delete_role_meta', $role_key, $role_meta )

Fires after delete UM role meta.

Parameters:
Name Type Description
$role_key string

Role key.

$role_meta array

Role meta.

Since:
  • 2.6.3
Source:
Example

Make any custom action after deleting UM role meta.

function my_custom_um_after_delete_role_meta( $role_key, $role_meta ) {
    // your code here
}
add_action( 'um_after_delete_role_meta', 'my_custom_um_after_delete_role_meta', 10, 2 );