is_category( mixed $category = '' )

Is the query for an existing category archive page?


25 related functions found for: is_category

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordscategori, categories, category, exist, is, query-php, taxonomi, taxonomy, wp-includes
wp-parser-packageQuery, WordPress
wp-parser-source-filewp-includes/query.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • categori
  • categories
  • category
  • exist
  • is
  • Query
  • query-php
  • taxonomi
  • taxonomy
  • wp-includes
  • wp-includes/query.php
  • query

Top ↑

Description Description

If the $category parameter is specified, this function will additionally check if the query is for one of the categories specified.


Top ↑

Parameters Parameters

$category

(mixed) (Optional) Category ID, name, slug, or array of Category IDs, names, and slugs.

Default value: ''


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: wp-includes/query.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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