JPKCom Harden & Trim

features-head.php

Head cleanup features

Shortlink, RSD, REST discovery links, feed links and the generator tag Every removal is global: the head and the HTTP headers are shared by all visitors, so the exempt roles do not apply. Hook names and priorities were checked against wp-includes/default-filters.php of WordPress 7.1.3; they are registered before plugins load, so removing them on plugins_loaded works.

Tags
since
1.0.0

Table of Contents

Functions

jpkcom_harden_trim_register_head_features()  : void
Remove the head output of the active head features.

Functions

jpkcom_harden_trim_register_head_features()

Remove the head output of the active head features.

jpkcom_harden_trim_register_head_features(array<string, mixed> $settings) : void
Parameters
$settings : array<string, mixed>

Effective settings.

Tags
since
1.0.0
On this page

Search results