um_after_user_is_inactive

Hook type

Action

Description

Action after user was inactive

Parameters

$user_id

(int) User ID

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_after_user_is_inactive is located in includes/core/class-user.php::line 1255