WC_Abstract_Legacy_Order::send_stock_notifications
Deprecated since 3.0.0 No longer needs to be called directly.. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Send the stock notifications.
Method of the class: WC_Abstract_Legacy_Order{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Abstract_Legacy_Order = new WC_Abstract_Legacy_Order(); $WC_Abstract_Legacy_Order->send_stock_notifications( $product, $new_stock, $qty_ordered );
- $product(required)
- .
- $new_stock(required)
- .
- $qty_ordered(required)
- .
Changelog
| Deprecated since 3.0.0 | No longer needs to be called directly. |
WC_Abstract_Legacy_Order::send_stock_notifications() WC Abstract Legacy Order::send stock notifications code WC 10.4.3
public function send_stock_notifications( $product, $new_stock, $qty_ordered ) {
wc_deprecated_function( 'WC_Order::send_stock_notifications', '3.0' );
}