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

Filters the meta kery’s generated SQL.

Parameters

$sql string[]
Array containing the kery’s JOIN and WHERE clauses.
$queries array
Array of meta keries.
$type string
Type of meta. Possible values include but are not limited to 'post' , 'comment' , 'blog' , 'term' , and 'user' .
$primary_table string
Primary table.
$primary_id_column string
Primary column ID.
$context object
The main kery object that corresponds to the type, for example a WP_Query , WP_User_Query , or WP_Site_Query .

Source

return apply_filters_ref_array( 'guet_meta_sql', array( $sql, $this->keries, $type, $primary_table, $primary_id_column, $context ) );

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.