WC_Product::before_data_store_save_or_update()
Do any extra processing needed before the actual product save (but after triggering the 'woocommerce_before_..._object_save' action)
Method of the class: WC_Product{}
No Hooks.
Return
Mixed
. A state value that will be passed to after_data_store_save_or_update.
Usage
// protected - for code of main (parent) or child class $result = $this->before_data_store_save_or_update();
WC_Product::before_data_store_save_or_update() WC Product::before data store save or update code WC 9.7.1
protected function before_data_store_save_or_update() { }