category_exists( int|string $cat_name, int $parent = null )

Check whether a category exists.

25 related functions found for: category_exists

Top ↑

Related terms found for this post

wp-parser-related-wordscategori, categories, category, exist, exists, taxonomi, taxonomy, taxonomy-php, wp-admin
wp-parser-packageAdministration, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • Administration
  • categori
  • categories
  • category
  • exist
  • exists
  • taxonomi
  • taxonomy
  • taxonomy-php
  • wp-admin
  • wp-admin/includes/taxonomy.php

Top ↑

Description Description

Top ↑

Parameters Parameters


(int|string) (Required) Category name.


(int) (Optional) ID of parent term.

Default value: null

Top ↑

Return Return


Top ↑

Source Source

File: wp-admin/includes/taxonomy.php


Top ↑

Changelog Changelog

Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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