wp_delete_category


wp_delete_category ( $cat_ID )

Parameters:
  • (int) $cat_ID Category term ID.
Returns:
  • (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.
Defined at:

Description

Deletes one existing category.

Related Functions

wp_create_category, wp_update_category, wp_delete_term, wp_insert_category, wp_delete_user

Top Google Results

User discussions

wpseek mobile