plugin-icon

CC-Clean-Head-Tags

作者:Clearcode·
This plugin removes unnecessary html tags from the head section as well as version numbers from style/script links.
评级
5
版本
1.0.4
活跃安装
20
最后更新
Mar 16, 2022
CC-Clean-Head-Tags

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 );

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.9.12
这个插件是可用的下载,适用于您的站点。