um_view_field

Hook type

Filter

Description

Change field HTML on view mode

Parameters

$output

(string) Field HTML

$data

(string) Field Data

$type

(string) Field Type

Usage

add_filter( 'um_view_field', 'function_name', 10, 3 );

Examples

<?php
add_filter( 'um_view_field', 'my_view_field', 10, 3 );
function my_form_edit_field( $output, $data, $type ) {
    // your code here
return $output;
}
?>

Change Log

Since: 2.0

Source

um_view_field is located in includes/core/class-fields.php::line 3436