• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class-wp-term-query.php

terms_pre_query

Filter Hook: Filters the terms array before the query takes place.

Source: wp-includes/class-wp-term-query.php:701

Used by 1 function | Uses 0 functions

WP_Term_Query::populate_terms()

Method: Creates an array of term objects from an array of term IDs.

Source: wp-includes/class-wp-term-query.php:1021

Used by 1 function | Uses 1 function

WP_Term_Query::parse_orderby_meta()

Method: Generate the ORDER BY clause for an ‘orderby’ param that is potentially related to a meta query.

Source: wp-includes/class-wp-term-query.php:922

Used by 1 function | Uses 0 functions

WP_Term_Query::parse_order()

Method: Parse an ‘order’ query variable and cast it to ASC or DESC as necessary.

Source: wp-includes/class-wp-term-query.php:981

Used by 1 function | Uses 0 functions

WP_Term_Query::get_search_sql()

Method: Used internally to generate a SQL string related to the ‘search’ parameter.

Source: wp-includes/class-wp-term-query.php:1003

Used by 1 function | Uses 2 functions

WP_Term_Query::get_terms()

Method: Get terms, based on query_vars.

Source: wp-includes/class-wp-term-query.php:309

Used by 1 function | Uses 37 functions

pre_get_terms

Action Hook: Fires before terms are retrieved.

Source: wp-includes/class-wp-term-query.php:326

Used by 1 function | Uses 0 functions

WP_Term_Query::parse_orderby()

Method: Parse and sanitize ‘orderby’ keys passed to the term query.

Source: wp-includes/class-wp-term-query.php:865

Used by 1 function | Uses 4 functions

WP_Term_Query

Class: Class used for querying terms.

Source: wp-includes/class-wp-term-query.php:18

Used by 0 functions | Uses 0 functions

WP_Term_Query::__construct()

Method: Constructor.

Source: wp-includes/class-wp-term-query.php:189

Used by 4 functions | Uses 1 function

WP_Term_Query::parse_query()

Method: Parse arguments passed to the term query with default query parameters.

Source: wp-includes/class-wp-term-query.php:236

Used by 1 function | Uses 6 functions

parse_term_query

Action Hook: Fires after term query vars have been parsed.

Source: wp-includes/class-wp-term-query.php:284

Used by 1 function | Uses 0 functions

WP_Term_Query::query()

Method: Sets up the query for retrieving terms.

Source: wp-includes/class-wp-term-query.php:295

Used by 1 function | Uses 2 functions

get_terms_defaults

Filter Hook: Filters the terms query default arguments.

Source: wp-includes/class-wp-term-query.php:253

Used by 1 function | Uses 0 functions

get_terms_args

Filter Hook: Filters the terms query arguments.

Source: wp-includes/class-wp-term-query.php:369

Used by 1 function | Uses 0 functions

get_terms_orderby

Filter Hook: Filters the ORDERBY clause of the terms query.

Source: wp-includes/class-wp-term-query.php:901

Used by 1 function | Uses 0 functions

list_terms_exclusions

Filter Hook: Filters the terms to exclude from the terms query.

Source: wp-includes/class-wp-term-query.php:484

Used by 1 function | Uses 0 functions

get_terms_fields

Filter Hook: Filters the fields to select in the terms query.

Source: wp-includes/class-wp-term-query.php:648

Used by 1 function | Uses 0 functions

terms_clauses

Filter Hook: Filters the terms query SQL clauses.

Source: wp-includes/class-wp-term-query.php:667

Used by 1 function | Uses 0 functions
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.