um_get_form_fields

Hook type

Filter

Description

Extend form fields

Parameters

$fields

(array) Selected filter value

Usage

add_filter( 'um_get_form_fields', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_get_form_fields', 'my_form_fields', 10, 1 );
function my_form_fields( $fields ) {
    // your code here
return $fields;
}
?>

Change Log

Since: 2.0

Source

um_get_form_fields is located in includes/core/class-fields.php::line 1118