admin_referrer_policy

Advertisement

Summery Summery

Filters the admin referrer policy header value.

Syntax Syntax

apply_filters( 'admin_referrer_policy', string $policy )

Parameters Parameters

$policy

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

Source Source

File: wp-admin/includes/misc.php

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.