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

TaxonomyTerms
wp-parser-related-wordscategori, categories, category, exist, exists, taxonomi, taxonomy, taxonomy-php, wp-admin
wp-parser-packageAdministration, WordPress
wp-parser-source-filewp-admin/includes/taxonomy.php

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

$cat_name

(int|string) (Required) Category name.

$parent

(int) (Optional) ID of parent term.

Default value: null


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: wp-admin/includes/taxonomy.php


			

Top ↑

Changelog 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.