apply_filters( 'admin_referrer_policy', string $policy )
Filters the admin referrer policy header value.
Parameters
- $policy
-
The admin referrer policy header value. Default 'strict-origin-when-cross-origin'.
Source
Changelog
Version | Description |
---|---|
WP-4.9.5 | The default value was changed to 'strict-origin-when-cross-origin'. |
WP-4.9.0 | Introduced. |