WordPress at a glance
filter is not described

admin_referrer_policy filter-hook . WP 4.9.0

Filters the admin referrer policy header value.

Usage

add_filter( 'admin_referrer_policy', 'filter_function_name_5229' );
function filter_function_name_5229( $policy ){
	// filter...

	return $policy;
}
$policy(string)
The admin referrer policy header value.
Default: 'strict-origin-when-cross-origin'

Notes

  • Since 4.9.5 The default value was changed to 'strict-origin-when-cross-origin'.

Where the hook is called

wp_admin_headers()
wp-admin/includes/misc.php 1142
$policy = apply_filters( 'admin_referrer_policy', $policy );

Where the hook is used (in WP core)

Does not used.