WC_Product::after_data_store_save_or_update()protectedWC 1.0

Do any extra processing needed after the actual product save (but before triggering the 'woocommerce_after_..._object_save' action)

Method of the class: WC_Product{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->after_data_store_save_or_update( $state );
$state(mixed) (required)
The state object that was returned by before_data_store_save_or_update.

WC_Product::after_data_store_save_or_update() code WC 8.7.0

protected function after_data_store_save_or_update( $state ) {
	$this->maybe_defer_product_sync();
}