um_admin_field_update_error_handling

Hook type

Filter

Description

Change error string on save field

Parameters

$error

(string) Error String

$array

(array) Save Field data

Usage

add_filter( 'um_admin_field_update_error_handling', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_admin_field_update_error_handling', 'my_admin_field_update_error', 10, 2 );
function my_admin_field_update_error( $error, $array ) {
    // your code here
return $error;
}
?>

Change Log

Since: 2.0

Source

um_admin_field_update_error_handling is located in includes/admin/core/class-admin-builder.php::line 364