filtrod 2.8.0
update_theme_complete_actions
Opis — z kodu źródłowego
Filters the list of action links available following a single theme update.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$update_actions | string[] | Array of theme action links. |
$theme | string | Theme directory name. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'update_theme_complete_actions', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'update_theme_complete_actions', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii