um_render_field_type_{$type}

Hook type

Filter

Description

Render admin form field by hook

Parameters

$html

(string) Field's HTML

$data

(array) Field's data

$form_data

(array) Form data

Usage

add_filter( 'um_render_field_type_{$type}', 'function_name', 10, 3 );

Examples

<?php
add_filter( 'um_render_field_type_{$type}', 'my_render_field_type', 10, 3 );
function my_render_field_type( $html, $data, $form_data ) {
    // your code here
return $html;
}
?>

Change Log

Since: 2.0

Source

um_render_field_type_{$type} is located in includes/admin/core/class-admin-forms.php::line 268