woocommerce_version_string_generator_ttl

woocommerce_version_string_generator_ttl

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.4.3

apply_filters('woocommerce_version_string_generator_ttl') is found 1 times:

  • /src/Internal/Caches/VersionStringGenerator.php line 136
    		 * @param string $id  The ID.
    		 *
    		 * @since 10.4.0
    		 */
    		$ttl = apply_filters( 'woocommerce_version_string_generator_ttl', DAY_IN_SECONDS, $id );
    		$ttl = max( 0, (int) $ttl );
    
    		return wp_cache_set( $cache_key, $version, self::CACHE_GROUP, $ttl );
    	}
    
    	/**