filtrod 4.1.0
meta_query_find_compatible_table_alias
Opis — z kodu źródłowego
Filters the table alias identified as compatible with the current clause.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$alias | string | false | Table alias, or false if none was found. |
$clause | array | First-order query clause. |
$parent_query | array | Parent of $clause. |
$query | \WP_Meta_Query | WP_Meta_Query object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'meta_query_find_compatible_table_alias', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'meta_query_find_compatible_table_alias', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}Popularne w tej kategorii