Update proposal hint on documentation of function get_product()
This commit is contained in:
parent
6acf17caf5
commit
18f86a910d
|
@ -25,7 +25,7 @@ add_filter( 'woocommerce_stock_amount', 'intval' ); // Stock amounts are integer
|
|||
* @access public
|
||||
* @param mixed $the_product Post object or post ID of the product.
|
||||
* @param array $args (default: array()) Contains all arguments to be used to get this product.
|
||||
* @return WC_Product_Simple
|
||||
* @return WC_Product
|
||||
*/
|
||||
function get_product( $the_product = false, $args = array() ) {
|
||||
global $woocommerce;
|
||||
|
|
Loading…
Reference in New Issue