You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function will either print the compiled version of the stylesheet to the document's <head> section, or load it as an external stylesheet if `$print` is set to false.
@@ -280,6 +280,7 @@ This function will either print the compiled version of the stylesheet to the do
280
280
*`$handle` (*string*) The stylesheet's name/id
281
281
*`$path` (*string*) The absolute path to the dynamic CSS file
282
282
*`$print` (*boolean*) Whether to print the compiled CSS to the document head, or load it as an external CSS file via an http request
283
+
*`$minify` (*boolean*) Whether to minify the CSS output
283
284
284
285
### wp_dynamic_css_set_callback
285
286
@@ -299,11 +300,15 @@ Set a callback function that will be used to convert variables to actual values.
299
300
300
301
*~~Add support for loading the compiled CSS externally instead of printing to the document head~~ (Added in 1.0.1)
301
302
*~~Add support for multiple value callback functions~~ (Added in 1.0.2)
303
+
*~~Add option for minification~~ (Added in 1.0.4)
302
304
* Add support for caching and improve performance
303
-
* Add option for minification
304
305
305
306
## Changelog
306
307
308
+
**1.0.4**
309
+
* Set cache-control to no-cache so that changes to options are reflected immediately
0 commit comments