filtrod MU (3.0.0)
allowed_themes
Opis — z kodu źródłowego
Filters the array of themes allowed on the network.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$allowed_themes | string[] | An array of theme stylesheet names. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'allowed_themes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'allowed_themes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii