um_{$key}_form_show_field

Hook type

Filter

Description

Change field HTML by field $key

Parameters

$output

(string) Field HTML

$mode

(string) Form Mode

Usage

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

Examples

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

Change Log

Since: 2.0

Source

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