Changeset 15712
- Timestamp:
- 10/04/2010 04:28:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r15705 r15712 1518 1518 1519 1519 return true; 1520 } 1521 1522 /* 1523 * Deletes one existing category. 1524 * 1525 * @since 2.0.0 1526 * @uses wp_delete_term() 1527 * 1528 * @param int $cat_ID 1529 * @return mixed Returns true if completes delete action; false if term doesnt exist; 1530 * Zero on attempted deletion of default Category; WP_Error object is also a possibility. 1531 */ 1532 function wp_delete_category( $cat_ID ) { 1533 return wp_delete_term( $cat_ID, 'category' ); 1520 1534 } 1521 1535
Note: See TracChangeset
for help on using the changeset viewer.