um_custom_image_handle_{$field}

Hook type

Filter

Description

Custom image handle

Parameters

$data

(array) Image Data

Usage

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

Examples

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

Change Log

Since: 2.0

Source

um_custom_image_handle_{$field} is located in includes/core/class-files.php::line 616