Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-http.php | apply_filters | 895 | /** * Filters whether to block local HTTP API requests. * * A local request is one to `localhost` or to the same host as the site itself. * * @since 2.8.0 * * @param bool $block Whether to block local requests. Default false. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $block | Whether to block local requests. Default false. |