filtrod 5.5.0
theme_auto_update_setting_html
Opis — z kodu źródłowego
Filters the HTML of the auto-updates setting for each theme in the Themes list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$html | string | The HTML for theme's auto-update setting, including toggle auto-update action link and time to next update. |
$stylesheet | string | Directory name of the theme. |
$theme | \WP_Theme | WP_Theme object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'theme_auto_update_setting_html', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'theme_auto_update_setting_html', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii