Filters whether to preempt sending the request through the proxy. Returning false will bypass the proxy; returning true will send the request through the proxy. Returning null bypasses the filter.
null, $uri, $check, $home
Sortie :
@param bool|null $override Whether to send the request through the proxy. Default null. @param string $uri URL of the request. @param array $check Associative array result of parsing the request URL with `parse_url()`. @param array $home Associative array result of parsing the site URL with `parse_url()`.
// Modifier la valeur avec le filtre 'pre_http_send_through_proxy'
add_filter('pre_http_send_through_proxy', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(null) {
// Modifier la valeur
return null;
}
Chargement des actualités...