um_delete_user

Hook type

Action

Description

On delete user

Parameters

$user_id

(int) User ID

Usage

add_action( 'um_delete_user', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_delete_user', 'my_delete_user', 10, 1 );
function my_delete_user( $user_id ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_delete_user is located in includes/core/class-user.php::line 1302