WordPress at a glance
filter is not described

block_local_requests filter-hook . WP 2.8.0

Filters whether to block local HTTP API requests.

A local request is one to localhost or to the same host as the site itself.

Usage

add_filter( 'block_local_requests', 'filter_function_name_5762' );
function filter_function_name_5762( $block ){
	// filter...

	return $block;
}
$block(true/false)
Whether to block local requests.
Default: false

Changelog

Since 2.8.0 Introduced.

Where the hook is called

WP_Http::block_request()
block_local_requests
wp-includes/class-http.php 883
return apply_filters( 'block_local_requests', false );

Where in WP core the hook is used

Usage not found!