Filter: um_{$key}_form_show_field

apply_filters( 'um_{$key}_form_show_field', $output, $mode ) → {string}

Filters outer field HTML by field $key.

Parameters:
Name Type Description
$output string

Field outer HTML.

$mode string

Field Mode.

Since:
  • 1.3.x
Source:
Returns:

Field outer HTML.

Type
string
Example

Change field outer HTML by field $key.

function my_form_show_field( $output, $mode ) {
    // your code here
    return $output;
}
add_filter( 'um_{$key}_form_show_field', 'my_form_show_field', 10, 2 );