block_local_requests

block_local_requests

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('block_local_requests') is found 1 times:

  • /wp-includes/class-wp-http.php line 899
    			 * @since 2.8.0
    			 *
    			 * @param bool $block Whether to block local requests. Default false.
    			 */
    			return apply_filters( 'block_local_requests', false );
    		}
    
    		if ( ! defined( 'WP_ACCESSIBLE_HOSTS' ) ) {
    			return true;
    		}
    
    

See this hook used in plugins: