WC_Abstract_Legacy_Product::check_stock_status()
Deprecated from version 3.0.0 Sync is done automatically on read/save, so calling this should not be needed any more.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Check if the stock status needs changing.
Method of the class: WC_Abstract_Legacy_Product{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Abstract_Legacy_Product = new WC_Abstract_Legacy_Product(); $WC_Abstract_Legacy_Product->check_stock_status();
Changelog
Deprecated since 3.0.0 | Sync is done automatically on read/save, so calling this should not be needed any more. |
WC_Abstract_Legacy_Product::check_stock_status() WC Abstract Legacy Product::check stock status code WC 7.7.0
public function check_stock_status() { wc_deprecated_function( 'WC_Product::check_stock_status', '3.0' ); }