um_get_option_filter__{$option_id}

Hook type

Filter

Description

Change UM option on get by $option_id

Parameters

$option

(array) Option Value

Usage

<?php add_filter( 'um_get_option_filter__{$option_id}', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_get_option_filter__{$option_id}', 'my_get_option_filter', 10, 1 );
function my_get_option_filter( $option ) {
    // your code here
return $option;
}
?>

Change Log

Since: 2.0

Source

um_get_option_filter__{$option_id} is located in includes/core/class-options.php::line 57