CC-Clean-Head-Tags
This plugin removes unnecessary html tags from the head section as well as version numbers from style/script links.
Votações
Última atualização
March 16, 2022
Versão
1.0.4
Instalações ativas
50
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 );
Este plugin está disponível para download para ser usado em sua instalação auto-hospedada do WordPress.