woocommerce_after_serializing_{$this->object_type}_for_caching
woocommerce_after_serializing_{$this->object_type}_for_caching
Appears in: woocommerce.6.9.0, woocommerce.6.9.4, woocommerce.7.0.0, woocommerce.7.1.0, woocommerce.7.1.1, woocommerce.7.2.2, woocommerce.7.3.0, woocommerce.7.4.0, woocommerce.7.4.1, woocommerce.7.5.1
Hook Type: filter
Displaying hooks found in version: woocommerce.7.5.1apply_filters('woocommerce_after_serializing_{$this->object_type}_for_caching') is found 1 times:
- /src/Caching/ObjectCache.php line 213
* @param array $data The already serialized object data. * @param array|object $object The object before serialization. * @returns array The actual serialized object data that will be passed to the cache engine. */ $data = apply_filters( "woocommerce_after_serializing_{$this->object_type}_for_caching", $data, $object, $id ); $this->last_cached_data = $data; return $this->get_cache_engine()->cache_object( $this->get_cache_key_prefix() . $id, $data, self::DEFAULT_EXPIRATION === $expiration ? $this->default_expiration : $expiration ); } /**