um_admin_custom_hook_{$action}

Hook type

Action

Description

Integration hook on user action

Parameters

$user_id

(int) User ID

Usage

add_action( 'um_admin_custom_hook_{$action}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_admin_custom_hook_{$action}', 'my_admin_custom_hook', 10, 1 );
function my_admin_after_main_notices( $user_id ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_admin_custom_hook_{$action} is located in includes/admin/core/um-admin-actions-user.php::line 34