WC_Abstract_Legacy_Order::send_stock_notifications()publicWC 1.0

Deprecated from version 3.0.0 No longer needs to be called directly.. It is no longer supported and can 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.

Return

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() code WC 8.7.0

public function send_stock_notifications( $product, $new_stock, $qty_ordered ) {
	wc_deprecated_function( 'WC_Order::send_stock_notifications', '3.0' );
}