um_hook_for_field_{$type}
Hook type
Filter
Description
Change field type
Parameters
$type
(string) Field Type
Usage
add_filter( 'um_hook_for_field_{$type}', 'function_name', 10, 1 );
Examples
<?php add_filter( 'um_hook_for_field_{$type}', 'my_field_type', 10, 1 ); function my_get_field( $type ) { // your code here return $type; } ?>
Change Log
Since: 2.0
Source
um_hook_for_field_{$type}
is located in includes/core/class-fields.php::line 1608