woocommerce_low_stock, wc_get_product( $change[product]->get_id(
woocommerce_low_stock, wc_get_product( $change[product]->get_id(
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_low_stock, wc_get_product( $change[product]->get_id(') is found 1 times:
- /includes/wc-stock-functions.php line 276
* @since 4.9
*
* @param int $product The product whose stock is about to change.
*/
do_action( ‘woocommerce_low_stock’, wc_get_product( $change[‘product’]->get_id() ) );
}if ( $change[‘to’] < 0 ) { /** * Action fires when an item in an order is backordered. * [/php]