um_field_non_utf8_value

Hook type

Filter

Description

Change dropdown option text

Parameters

$value

(string) Option Value

Usage

add_filter( 'um_field_non_utf8_value', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_field_non_utf8_value', 'my_field_non_utf8_value', 10, 1 );
function my_field_non_utf8_value( $value ) {
    // your code here
return $value;
}
?>

Change Log

Since: 2.0

Source

um_field_non_utf8_value is located in includes/core/class-fields.php::line 1489