um_{$key}_form_edit_field

Hook type

Filter

Description

Change field HTML on edit mode by field $key

Parameters

$output

(string) Field HTML

$mode

(string) Fields Mode

Usage

add_filter( 'um_{$key}_form_edit_field', 'function_name', 10, 2 );

Examples

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

Change Log

Since: 2.0

Source

um_{$key}_form_edit_field is located in includes/core/class-fields.php::line 3057