woocommerce_order_item_product

woocommerce_order_item_product

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_order_item_product') is found 1 times:

  • /includes/class-wc-order-item-product.php line 358
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
        if ( has_filter( 'woocommerce_get_product_from_item' ) ) {
            $product = apply_filters( 'woocommerce_get_product_from_item', $product, $this, $this->get_order() );
        }
     
        return apply_filters( 'woocommerce_order_item_product', $product, $this );
    }
     
    /**
     * Get the Download URL.
     *
     * @param  int $download_id Download ID.

See this hook used in plugins: