WP HOOKS
filtrod 6.6.0

interactivity_process_directives

Args 1Plik wp-includes/class-wp-block.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters whether Interactivity API should process directives.

Parametry

ParametrTypOpis
$enabledboolWhether 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
}

Popularne w tej kategorii