akcjaod 3.1.0
after_theme_row
Opis — z kodu źródłowego
Fires after each row in the Multisite themes list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$stylesheet | string | Directory name of the theme. |
$theme | \WP_Theme | Current WP_Theme object. |
$status | string | Status of the theme. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'after_theme_row', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'after_theme_row', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii