image_id

image_id

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('image_id') is found 1 times:

  • /includes/class-wc-product-variation.php line 372
    	public function get_image_id( $context = 'view' ) {
    		$image_id = $this->get_prop( 'image_id', $context );
    
    		if ( 'view' === $context && ! $image_id ) {
    			$image_id = apply_filters( $this->get_hook_prefix() . 'image_id', $this->parent_data['image_id'], $this );
    		}
    
    		return $image_id;
    	}
    
    	/**