Changeset 55334 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 02/14/2023 03:44:41 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r55018 r55334 2155 2155 * @since 2.0.0 2156 2156 * 2157 * @param int $cat_ IDCategory term ID.2157 * @param int $cat_id Category term ID. 2158 2158 * @return bool|int|WP_Error Returns true if completes delete action; false if term doesn't exist; 2159 2159 * Zero on attempted deletion of default Category; WP_Error object is 2160 2160 * also a possibility. 2161 2161 */ 2162 function wp_delete_category( $cat_ ID) {2163 return wp_delete_term( $cat_ ID, 'category' );2162 function wp_delete_category( $cat_id ) { 2163 return wp_delete_term( $cat_id, 'category' ); 2164 2164 } 2165 2165
Note: See TracChangeset
for help on using the changeset viewer.