CC-Clean-Head-Tags

plugin banner

This plugin removes unnecessary html tags from the head section as well as version numbers from style/script links.

Author:Clearcode (profile at wordpress.org)
WordPress version required:4.7.1
WordPress version tested:5.9.2
Plugin version:1.0.4
Added to WordPress repository:23-01-2017
Last updated:16-03-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:https://wordpress.org/plugins/cc-clean-head-t...
Total downloads:1 879
Active installs:50+
plugin download
Click to start download

The CC-Clean-Head-Tags plugin removes:

  • RSD / EditURI Link
  • WLW Manifest Link
  • RSS Feed Links
  • Next & Prev Post Links
  • Shortlink URL
  • WP-API Links

WP Generator Meta from:

  • html
  • xhtml
  • atom
  • rss2
  • rdf
  • comment
  • export

Additionally it removes version numbers from style and script links.

Tips & Tricks

You can exclude version number removal from certain style and/or script using these built-in filters:

  • Clearcode\Clean_Head_Tags\Style
  • Clearcode\Clean_Head_Tags\Script

For example like this:
add_filter( ‘Clearcode\Clean_Head_Tags\Style’, function( $clean, $src, $handle ) {
return ! in_array( $handle, [‘style’] );
}, 10, 3 );


ChangeLog