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'.

Top ↑

Source

File: wp-admin/includes/misc.php. View all references

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


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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