http_request_host_is_external

http_request_host_is_external

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('http_request_host_is_external') is found 1 times:

  • /wp-includes/http.php line 607
    				 * @param bool   $external Whether HTTP request is external or not.
    				 * @param string $host     Host name of the requested URL.
    				 * @param string $url      Requested URL.
    				 */
    				if ( ! apply_filters( 'http_request_host_is_external', false, $host, $url ) ) {
    					return false;
    				}
    			}
    		}
    	}
    
    

See this hook used in plugins: