um_submit_form_{$mode}

Hook type

Action

Description

Action on submit form

Parameters

$post

(int) Post data

Usage

add_action( 'um_submit_form_{$mode}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_submit_form_{$mode}', 'my_submit_form', 10, 1 );
function my_submit_form( $post ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_submit_form_{$mode} is located in includes/core/class-form.php::line 387