CC-Clean-Head-Tags
CC-Clean-Head-Tags
Description
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\StyleClearcode\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 );
Installation
From your WordPress Dashboard
- Go to ‘Plugins > Add New’
- Search for ‘CC-Clean-Head-Tags’
- Activate the plugin from the Plugin section on your WordPress Dashboard.
From WordPress.org
- Download ‘CC-Clean-Head-Tags’.
- Upload the ‘CC-Clean-Head-Tags’ directory to your ‘/wp-content/plugins/’ directory using your favorite method (ftp, sftp, scp, etc…)
- Activate the plugin from the Plugin section in your WordPress Dashboard.
Multisite
The plugin can be activated and used for just about any use case.
- Activate at the site level to load the plugin on that site only.
- Activate at the network level for full integration with all sites in your network (this is the most common type of multisite installation).
Reviews
Good Plugin
By VannDigital (VDN Staff) on May 4, 2021
Good plugin so far. Hope it stays updated.
Changelog
1.0.4
Release date: 16.03.2022
- Added: PHP 8.0 support.
1.0.3
Release date: 14.03.2019
- Fixed: Excluded wp-admin tags.
1.0.2
Release date: 13.03.2018
- Fixed: Compatibility with WooCommerce.
1.0.1
Release date: 24.01.2017
- Corrected activation/deactivation functions & added basename property to Plugin class.
1.0.0
Release date: 23.01.2017
- First stable version of the plugin.