admin_referrer_policy

SummerySummery

Filters the admin referrer policy header value.

Syntax

apply_filters( 'admin_referrer_policy', string $policy )

ParametersParameters

$policy

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

SourceSource

File: wp-admin/includes/misc.php

ChangelogChangelog

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