apply_filters_ref_array( 'get_meta_sql', array $clauses, array $queries, string $type, string $primary_table, string $primary_id_column, object $context )

Filters the meta query’s generated SQL.


Parameters

$clauses

Array containing the query's JOIN and WHERE clauses.

$queries

Array of meta queries.

$type

Type of meta.

$primary_table

Primary table.

$primary_id_column

Primary column ID.

$context

The main query object.


Source

File: wp-includes/class-wp-meta-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.