um_get_custom_field_array

Hook type

Filter

Description

Extend custom field data on submit form error

Parameters

$array

(array) Field data

$fields

(array) All fields

Usage

<?php add_filter( 'um_get_custom_field_array', 'function_name', 10, 2 ); ?>

Examples

<?php
add_filter( 'um_get_custom_field_array', 'my_get_custom_field_array', 10, 2 );
function my_get_custom_field_array( $array, $fields ) {
    // your code here
return $array;
}
?>

Change Log

Since: 2.0

Source

um_get_custom_field_array is located in includes/core/um-actions-form.php::line 303