Skip to content

Instantly share code, notes, and snippets.

View BenSampo's full-sized avatar

Ben Sampson BenSampo

View GitHub Profile
<?php
/**
* Filename-based cache busting for WordPress scripts/styles.
*
* Extend your .htaccess file with these lines:
*
* <IfModule mod_rewrite.c>
* RewriteEngine On
* RewriteBase /
*