wp_delete_category

SummerySummery

Deletes one existing category.

Syntax

wp_delete_category( int $cat_ID )

ParametersParameters

$cat_ID

(int) (Required) Category term ID.

ReturnReturn

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

SourceSource

File: wp-includes/taxonomy.php


			

ChangelogChangelog

Changelog
Version Description
2.0.0 Introduced.
Scroll to Top