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.2

apply_filters('http_request_host_is_external') is found 1 times:

  • /wp-includes/http.php line 607
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
                 * @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: