Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/http.php | apply_filters | 600 | /** * Controls the list of ports considered safe in HTTP API. * * Allows to change and allow external requests for the HTTP request. * * @since 5.9.0 * * @param array $allowed_ports Array of integers for valid ports. * @param string $host Host name of the requested URL. * @param string $url Requested URL. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $allowed_ports | Array of integers for valid ports. |
string | $host | Host name of the requested URL. |
string | $url | Requested URL. |