apply_filters( 'admin_referrer_policy', string $policy )

Filters the admin referrer policy header value.

Parameters

$policy

(string) The admin referrer policy header value. Default 'strict-origin-when-cross-origin'.

Source

File: wp-admin/includes/misc.php

View on Trac

Changelog

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

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/admin_referrer_policy