um_run_ajax_function__{$hook}

Hook type

Action

Description

Action on AJAX muted action

Parameters

$request

(int) Request

Usage

add_action( 'um_run_ajax_function__{$hook}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_run_ajax_function__{$hook}', 'my_run_ajax_function', 10, 1 );
function my_run_ajax_function( $request ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_run_ajax_function__{$hook} is located in includes/core/class-form.php::line 57