Last active
December 20, 2015 23:09
-
-
Save WebEndevSnippets/6210831 to your computer and use it in GitHub Desktop.
WordPress: Load CSS with timestamp to bust cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rkv_cacheless_css() { | |
wp_enqueue_style( 'MY-CSS-NAME', MY-CSS-FILE.CSS, array(), time(), 'all' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment