wp_signature_hosts

wp_signature_hosts

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_signature_hosts') is found 1 times:

  • /wp-admin/includes/file.php line 1264
    		 * @since 5.2.0
    		 *
    		 * @param string[] $hostnames List of hostnames.
    		 */
    		$signed_hostnames = apply_filters( 'wp_signature_hosts', array( 'wordpress.org', 'downloads.wordpress.org', 's.w.org' ) );
    
    		$signature_verification = in_array( parse_url( $url, PHP_URL_HOST ), $signed_hostnames, true );
    	}
    
    	// Perform signature validation if supported.
    	if ( $signature_verification ) {