apply_filters( 'um_{$type}_form_show_field', $output, $mode ) → {string}
Filters outer field HTML by field $type.
Parameters:
Name | Type | Description |
---|---|---|
$output |
string | Field outer HTML. |
$mode |
string | Field Mode. |
- Since:
- 1.3.x
- Source:
Returns:
Field outer HTML.
- Type
- string
Example
function my_form_show_field( $output, $mode ) {
// your code here
return $output;
}
add_filter( 'um_{$type}_form_show_field', 'my_form_show_field', 10, 2 );