um_action_user_request_hook

Hook type

Action

Description

Integration for user actions

Parameters

$action

(string) Action for user

$user_id

(int) User ID

Usage

add_action( 'um_action_user_request_hook', 'function_name', 10, 2 );

Examples

<?php
add_action( 'um_action_user_request_hook', 'my_action_user_request', 10, 2 );
function my_action_user_request( $action, $user_id ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_action_user_request_hook is located in includes/core/um-actions-core.php::line 52