Summery Summery
Deletes one existing category.
Syntax Syntax
Parameters Parameters
- $cat_ID
-
(Required) Category term ID.
Return Return
(bool|int|WP_Error) Returns true if completes delete action; false if term doesn't exist; Zero on attempted deletion of default Category; WP_Error object is also a possibility.
Source Source
File: wp-includes/taxonomy.php
* * @since 2.9.0 *
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |