um_image_handle_{$field}__option

Hook type

Filter

Description

Custom image handle for each $field

Parameters

$data

(array) Image Data

Usage

add_filter( 'um_image_handle_{$field}__option', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_image_handle_{$field}__option', 'my_image_handle', 10, 1 );
function my_image_handle( $data ) {
    // your code here
return $data;
}
?>

Change Log

Since: 2.0

Source

um_image_handle_{$field}__option is located in includes/core/class-files.php::line 663