(hook_prefix)image_id filter-hook . WC 1.0
Usage
add_filter( '(hook_prefix)image_id', 'filter_function_name_1824', 10, 2 ); function filter_function_name_1824( $parent_data_image_id, $that ){ // filter... return $parent_data_image_id; }
- $parent_data_image_id
- -
- $that
- -
Where the hook is called
(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 );