wp_signature_hosts filter-hook . WP 5.2.0
Filters the list of hosts which should have Signature Verification attempted on.
Usage
add_filter( 'wp_signature_hosts', 'filter_function_name_6899' ); function filter_function_name_6899( $hostnames ){ // filter... return $hostnames; }
- $hostnames(string[])
- List of hostnames.
Changelog
Since 5.2.0 | Introduced. |
Where the hook is called
wp-admin/includes/file.php 1109
$signed_hostnames = apply_filters( 'wp_signature_hosts', array( 'wordpress.org', 'downloads.wordpress.org', 's.w.org' ) );