meta_query_find_compatible_table_alias хук-фильтр . WP 4.1.0
Filters the table alias identified as compatible with the current clause.
Использование
add_filter( 'meta_query_find_compatible_table_alias', 'filter_function_name_2206', 10, 4 ); function filter_function_name_2206( $alias, $clause, $parent_query, $this ){ // filter... return $alias; }
- $alias(строка/true/false)
- Table alias, or false if none was found.
- $clause(массив)
- First-order query clause.
- $parent_query(массив)
- Parent of $clause.
- $this(WP_Meta_Query)
- WP_Meta_Query object.
Список изменений
С версии 4.1.0 | Введена. |
Где вызывается хук
meta_query_find_compatible_table_alias
wp-includes/class-wp-meta-query.php 830
return apply_filters( 'meta_query_find_compatible_table_alias', $alias, $clause, $parent_query, $this );