woocommerce_recount_after_stock_change()WC 1.0

Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Return

null. Nothing (null).

Usage

woocommerce_recount_after_stock_change( $product_id );
$product_id (required)
-

Changelog

Deprecated since 3.0

woocommerce_recount_after_stock_change() code WC 8.6.1

function woocommerce_recount_after_stock_change( $product_id ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_recount_after_stock_change' );
	return wc_recount_after_stock_change( $product_id );
}