WP HOOKS
filtrod 5.3.0

insert_with_markers_inline_instructions

Args 2Plik wp-admin/includes/misc.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the inline instructions inserted before the dynamically generated content.

Parametry

ParametrTypOpis
$instructionsstring[]Array of lines with inline instructions.
$markerstringThe marker being inserted.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'insert_with_markers_inline_instructions', 'twoja_funkcja', 10, 2 );

function twoja_funkcja($param_1, $param_2) {
	// Twój kod
}

Popularne w tej kategorii