Function get_product
Main function for returning products, uses the WC_Product_Factory class.
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
|