Created
March 8, 2013 17:48
-
-
Save alanb1501/5118348 to your computer and use it in GitHub Desktop.
Disable W3C Total Cache caching of other WP plugin content.
This file contains hidden or 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
add_action('wp_head','inject_javascript'); | |
function inject_javascript() { | |
?> | |
<!-- mfunc | |
$uid = uniqid (); | |
echo '<!-- Plugin v.01 ID: -->'; | |
echo '<!--'. $uid .'-->'; | |
echo "\n"; | |
--> | |
<!--/mfunc --> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment