WordPress at Your Fingertips
function is not described

WC_Product_Variable::after_data_store_save_or_update() protected WC 1.0

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

{} It's a method of the class: WC_Product_Variable{}

No Hooks.

Return

null. Nothing.

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.

Code of WC_Product_Variable::after_data_store_save_or_update() WC 5.7.1

protected function after_data_store_save_or_update( $state ) {
	$this->data_store->sync_variation_names( $this, $state['previous_name'], $state['new_name'] );
	$this->data_store->sync_managed_variation_stock_status( $this );
}