um_edit_field_{$mode}_{$type}

Hook type

Filter

Description

Change field html by $mode and field $type

Parameters

$output

(string) Field HTML

$data

(array) Field Data

Usage

add_filter( 'um_edit_field_{$mode}_{$type}', 'function_name', 10, 2 );

Examples

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

Change Log

Since: 2.0

Source

um_edit_field_{$mode}_{$type} is located in includes/core/class-fields.php::line 1638