apply_filters( 'um_view_field', $output, $data, $type ) → {string}
Filters the inner field HTML on view mode.
Parameters:
Name | Type | Description |
---|---|---|
$output |
string | Field inner HTML. |
$data |
array | Field Data. |
$type |
string | Field Type. |
- Since:
- 1.3.x
- Source:
Returns:
Field inner HTML.
- Type
- string
Example
function my_view_field( $output, $data, $type ) {
// your code here
return $output;
}
add_filter( 'um_view_field', 'my_view_field', 10, 3 );