filtrod 2.2.1
wp_parse_str
Opis — z kodu źródłowego
Filters the array of variables derived from a parsed string.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$result | array | The array populated with variables. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_parse_str', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_parse_str', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii