filtrod 5.3.0
insert_with_markers_inline_instructions
Opis — z kodu źródłowego
Filters the inline instructions inserted before the dynamically generated content.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$instructions | string[] | Array of lines with inline instructions. |
$marker | string | The 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
}
// 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