amp_parsed_css_transient_caching_allowed

apply_filters( 'amp_parsed_css_transient_caching_allowed',  bool $transient_caching_allowed )

Description #

Filters whether parsed CSS is allowed to be cached in transients.

When this is filtered to be false, parsed CSS will not be stored in transients. This is important when there is highly-variable CSS content in order to prevent filling up the wp_options table with an endless number of entries.


Parameters #

$transient_caching_allowed

(bool) Transient caching allowed.



Changelog #

Changelog
Version Description
1.5.0 Introduced.