filtrod 6.6.0
interactivity_process_directives
Opis — z kodu źródłowego
Filters whether Interactivity API should process directives.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$enabled | bool | Whether the directives processing is enabled. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'interactivity_process_directives', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'interactivity_process_directives', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii