wp_http_accept_encoding

wp_http_accept_encoding

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

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('wp_http_accept_encoding') is found 1 times:

  • /wp-includes/class-wp-http-encoding.php line 184
    		 * @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.