Function get_product

Main function for returning products, uses the WC_Product_Factory class.

Package: WooCommerce\Functions
Author: WooThemes
Located at includes/wc-product-functions.php

Parameters summary

mixed $the_product = false Post object or post ID of the product.
array $args = array() (default: array()) Contains all arguments to be used to get this product.

Return value summary

WC_Product
WooCommerce API documentation generated by ApiGen 2.8.0