um_after_remove_{$type}

Hook type

Action

Description

Make some actions after remove file

Parameters

$user_id

(int) User ID

Usage

add_action( 'um_after_remove_{$type}', 'function_name', 10, 1 );

Examples

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

Change Log

Since: 2.0

Source

um_after_remove_{$type} is located in includes/core/class-files.php::line 775