um_add_error_on_form_submit_validation

Hook type

Action

Description

Submit form validation

Parameters

$field

(array) Field Data

$key

(string) Field Key

$args

(array) Form Arguments

Usage

add_action( 'um_add_error_on_form_submit_validation', 'function_name', 10, 3 );

Examples

<?php
add_action( 'um_add_error_on_form_submit_validation', 'my_add_error_on_form_submit_validation', 10, 3 );
function my_add_error_on_form_submit_validation( $field, $key, $args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_add_error_on_form_submit_validation is located in includes/core/um-actions-form.php::line 417