wp_delete_category

Advertisement

Summery Summery

Deletes one existing category.

Syntax Syntax

wp_delete_category( int $cat_ID )

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

Changelog
Version Description
2.0.0 Introduced.

Advertisement

Leave a Reply