wp_signature_hosts WordPress Filter Hook

The wp_signature_hosts Wordpress hook allows you to set a list of hosts that are allowed to sign requests for your Wordpress site. This is useful for ensuring that only trusted hosts can access your site's data.

apply_filters( 'wp_signature_hosts', string[] $hostnames ) #

Filters the list of hosts which should have Signature Verification attempted on.


Parameters

$hostnames

(string[])List of hostnames.


Top ↑

Source

File: wp-admin/includes/file.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.