get_tax_sql

Advertisement

Summery Summery

Given a taxonomy query, generates SQL to be appended to a main query.

Syntax Syntax

get_tax_sql( array $tax_query, string $primary_table, string $primary_id_column )

Parameters Parameters

$tax_query

(array) (Required) A compact tax query

$primary_table

(string) (Required)

$primary_id_column

(string) (Required)

Return Return

(array)

Source Source

File: wp-includes/taxonomy.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.