filtrod 2.7.0
validate_current_theme
Opis — z kodu źródłowego
Filters whether to validate the active theme.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$validate | bool | Whether to validate the active theme. Default true. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'validate_current_theme', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'validate_current_theme', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii