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
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' );