wp_http_accept_encoding

过滤钩子


apply_filters( 'wp_http_accept_encoding', $type, $url, $args )
参数
  • (string[])
    $type
    Array of what encoding types to accept and their priority values.
    Required:
  • (string)
    $url
    URL of the HTTP request.
    Required:
  • (array)
    $args
    HTTP request arguments.
    Required:
定义位置
  • wp-includes/class-wp-http-encoding.php
    , line 184
引入
3.6.0
弃用

Filters the allowed encoding types.

$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );