filtrod 2.8.0
https_local_ssl_verify
Opis — z kodu źródłowego
Filters whether SSL should be verified for local HTTP API requests.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$ssl_verify | bool | string | Boolean to control whether to verify the SSL connection or path to an SSL certificate. |
$url | string | The request URL. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'https_local_ssl_verify', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'https_local_ssl_verify', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}