filtrod 5.1.0
wp_update_php_url
Opis — z kodu źródłowego
Filters the URL to learn more about updating the PHP 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 PHP. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_update_php_url', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_update_php_url', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii