How to deregister Emphasis?
-
I’m trying to use wp_deregister_script to be able to conditionally load emphasis.js only when needed (i.e. in the entry template), but I couldn’t get the script not to load. I tried the following in functions.php:
wp_deregister_script('emphasis');
(with a variation of the above I’m able to deregister Jquery so I can load it from the Google CDN)
wp_deregister_script('emphasis.js');
wp_deregister_script('emphasis.js?ver=1349884759');
Any suggestions?
- The topic ‘How to deregister Emphasis?’ is closed to new replies.