akcjaod 2.1.0
get_footer
Opis — z kodu źródłowego
Fires before the footer template file is loaded.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$name | string | null | Name of the specific footer file to use. Null for the default footer. |
$args | array | Additional arguments passed to the footer template. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'get_footer', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_action( 'get_footer', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii