filtrod 5.5.0
theme_auto_update_setting_template
Opis — z kodu źródłowego
Filters the JavaScript template used to display the auto-update setting for a theme (in the overlay).
See {@see \wp_prepare_themes_for_js()} for the properties of the data object.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$template | string | The template for displaying the auto-update setting link. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'theme_auto_update_setting_template', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'theme_auto_update_setting_template', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii