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/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
このプラグインをダウンロードして、 サイトに使用できます。