get_meta_sql

最后更新于:2021-11-26 22:41:00

apply_filters_ref_array( ‘get_meta_sql’, array $sql, array $queries, string $type, string $primary_table, string $primary_id_column, object $context )

Filters the meta query’s generated SQL.

参数

$sql

(array)
Array containing the query’s JOIN and WHERE clauses.

$queries

(array)
Array of meta queries.

$type

(string)
Type of meta.

$primary_table

(string)
Primary table.

$primary_id_column

(string)
Primary column ID.

$context

(object)
The main query object.

源文件

文件: gc-includes/class-gc-meta-query.php

View on Trac