filtrod 3.1.0
all_themes
Opis — z kodu źródłowego
Filters the full array of WP_Theme objects to list in the Multisite themes list table.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$all | \WP_Theme[] | Array of WP_Theme objects to display in the list table. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'all_themes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'all_themes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii