wpseek.com
WordPress开发者和主题制作者的搜索引擎
http_allowed_safe_ports › WordPress过滤钩子
Since5.9.0
已弃用n/a
› apply_filters( 'http_allowed_safe_ports', array( 80, 443, 8080 )
| 参数: (3) |
|
| 定义在: |
|
| 文档: |
Controls the list of ports considered safe in HTTP API.
Allows to change and allow external requests for the HTTP request.Related Functions: wp_allowed_protocols, get_allowed_mime_types, rest_get_allowed_schema_keywords, get_allowed_http_origins, get_allowed_themes, add_allowed_options
Related Hooks: http_api_transports, title_save_pre, allowed_options, kses_allowed_protocols, site_allowed_themes