Filter: um_edit_field_{$mode}_{$type}

apply_filters( 'um_edit_field_{$mode}_{$type}', $output, $data ) → {string}

Filters change field html by $mode and field $type

Parameters:
Name Type Description
$output string

Field HTML.

$data array

Field Data.

Since:
  • 1.3.x
Source:
Returns:

Field HTML.

Type
string
Example

Change field html by $mode and field $type.

function my_edit_field_html( $output, $data ) {
    // your code here
    return $output;
}
add_filter( 'um_edit_field_{$mode}_{$type}', 'my_edit_field_html', 10, 2 );