um_admin_do_action__{$action}

Hook type

Action

Description

Make some action on custom admin $action

Parameters

$action

(string) Admin Action

Usage

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

Examples

<?php
add_action( 'um_admin_do_action__{$action}', 'my_admin_do_action', 10, 1 );
function my_admin_do_action( $action ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_admin_do_action__{$action} is located in includes/admin/class-admin.php::line 119