Filter: um_view_field_value_{$type}

apply_filters( 'um_view_field_value_{$type}', $output, $data ) → {string}

Filters the inner field HTML on view mode by field type {$type}.

Parameters:
Name Type Description
$output string

Field inner HTML.

$data array

Field Data.

Since:
  • 1.3.x
Source:
Returns:

Field inner HTML.

Type
string
Example

Change field HTML on view mode by field type.

function my_view_field( $output, $data ) {
    // your code here
    return $output;
}
add_filter( 'um_view_field_value_{$type}', 'my_view_field', 10, 2 );