apply_filters( ‘admin_referrer_policy’, string $policy )

In this article

Filters the admin referrer policy header value.

Parameters

$policystring
The admin referrer policy header value. Default 'strict-origin-when-cross-origin'.

Source

$policy = apply_filters( 'admin_referrer_policy', $policy );

Changelog

VersionDescription
4.9.5The default value was changed to 'strict-origin-when-cross-origin'.
4.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.