wordpress user delete hook code example
Example: delete_user hook in wordpress
function custom_remove_user( $user_id ) {
//code...
}
add_action( 'delete_user', 'custom_remove_user', 10 );
function custom_remove_user( $user_id ) {
//code...
}
add_action( 'delete_user', 'custom_remove_user', 10 );