get_tax_sql


get_tax_sql ( $tax_query, $primary_table, $primary_id_column )

Parameters:
  • (array) $tax_query A compact tax query
  • (string) $primary_table
  • (string) $primary_id_column
See:
  • WP_Tax_Query
Returns:
  • (array)
Defined at:

Description

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

Related Functions

get_meta_sql, get_tags, get_tag_link, get_tag, get_meta_keys

Top Google Results

User discussions

wpseek mobile