is_tax( string|array $taxonomy = '', int|string|array $term = '' )

Is the query for an existing custom taxonomy archive page?

25 related functions found for: is_tax

Top ↑

Related terms found for this post

wp-parser-related-wordsexist, is, query-php, tax, taxonomi, taxonomies, taxonomy, wp-includes
wp-parser-packageQuery, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • exist
  • is
  • Query
  • query-php
  • tax
  • taxonomi
  • taxonomies
  • taxonomy
  • wp-includes
  • wp-includes/query.php
  • query

Top ↑

Description Description

If the $taxonomy parameter is specified, this function will additionally check if the query is for that specific $taxonomy.

If the $term parameter is specified in addition to the $taxonomy parameter, this function will additionally check if the query is for one of the terms specified.

Top ↑

Parameters Parameters


(string|array) (Optional) Taxonomy slug or slugs.

Default value: ''


(int|string|array) (Optional) Term ID, name, slug or array of Term IDs, names, and slugs.

Default value: ''

Top ↑

Return Return

(bool) True for custom taxonomy archive pages, false for built-in taxonomies (category and tag archives).

Top ↑

Source Source

File: wp-includes/query.php


Top ↑

Changelog Changelog

Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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