um_before_submit_form_post

Hook type

Action

Description

Before submit form

Parameters

$post

(int) Post data

Usage

add_action( 'um_before_submit_form_post', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_before_submit_form_post', 'my_before_submit_form_post', 10, 1 );
function my_run_ajax_function( $post ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_before_submit_form_post is located in includes/core/class-form.php::line 233