um_submit_form_errors_hook

Hook type

Action

Description

Action on submit form

Parameters

$post

(int) Post data

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_submit_form_errors_hook is located in includes/core/class-form.php::line 367