WC_Product::after_data_store_save_or_update()
Do any extra processing needed after the actual product save (but before triggering the 'woocommerce_after_..._object_save' action)
Метод класса: WC_Product{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->after_data_store_save_or_update( $state );
- $state(разное) (обязательный)
- The state object that was returned by before_data_store_save_or_update.
Код WC_Product::after_data_store_save_or_update() WC Product::after data store save or update WC 9.7.1
protected function after_data_store_save_or_update( $state ) { $this->maybe_defer_product_sync(); }