um_get_field__{$key}

Hook type

Filter

Description

Extend field data by field $key

Parameters

$data

(array) Field Data

Usage

add_filter( 'um_get_field__{$key}', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_get_field__{$key}', 'my_get_field', 10, 1 );
function my_get_field( $data ) {
    // your code here
return $data;
}
?>

Change Log

Since: 2.0

Source

um_get_field__{$key} is located in includes/core/class-fields.php::line 1462