Filter: um_{$key}_form_edit_field

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

Filters change field HTML on edit mode by field $key.

Parameters:
Name Type Description
$output string

Field HTML.

$mode string

Field Mode.

Since:
  • 1.3.x
Source:
Returns:

Field HTML.

Type
string
Example

Change field HTML.

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