Filter: um_get_option_filter__{$option_id}

apply_filters( 'um_get_option_filter__{$option_id}', $value ) → {mixed}

Filters the plugin option.

Parameters:
Name Type Description
$value mixed

Option value.

Since:
  • 1.3.67
Source:
Returns:

Option value.

Type
mixed
Example

Change `option_1` value.

function my_custom_option_1( $value ) {
    $value = 'option_1_custom_value';
    return $value;
}
add_filter( 'um_get_option_filter__option_1', 'my_custom_option_1' );