(hook_prefix)image_id filter-hookWC 1.0

Usage

add_filter( '(hook_prefix)image_id', 'wp_kama_hook_prefiximage_id_filter', 10, 2 );

/**
 * Function for `(hook_prefix)image_id` filter-hook.
 * 
 * @param  $parent_data_image_id 
 * @param  $that                 
 *
 * @return 
 */
function wp_kama_hook_prefiximage_id_filter( $parent_data_image_id, $that ){

	// filter...
	return $parent_data_image_id;
}
$parent_data_image_id
-
$that
-

Where the hook is called

WC_Product_Variation::get_image_id()
(hook_prefix)image_id
woocommerce/includes/class-wc-product-variation.php 372
$image_id = apply_filters( $this->get_hook_prefix() . 'image_id', $this->parent_data['image_id'], $this );

Where the hook is used in WooCommerce

Usage not found.