wp_http_accept_encoding

wp_http_accept_encoding

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_http_accept_encoding') is found 1 times:

  • /wp-includes/class-wp-http-encoding.php line 184
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
         * @param string[] $type Array of what encoding types to accept and their priority values.
         * @param string   $url  URL of the HTTP request.
         * @param array    $args HTTP request arguments.
         */
        $type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );
     
        return implode( ', ', $type );
    }
     
    /**
     * What encoding the content used when it was compressed to send in the headers.