filtrod 5.7.0
wp_update_https_url
Opis — z kodu źródłowego
Filters the URL to learn more about updating the HTTPS version the site is running on.
Providing an empty string is not allowed and will result in the default URL being used. Furthermore the page the URL links to should preferably be localized in the site language.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$update_url | string | URL to learn more about updating HTTPS. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_update_https_url', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_update_https_url', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii