Remove type attribute from script and style tags added by WordPress

Posted by Prem Tiwari | Updated on

You can remove the type=’*’ attributes and values from wp_enqueue’ed scripts and styles, using respective *_loader_tag hooks.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers