Core Function
View Source on Trac ↗ wp_update_category()
wp_update_category( mixed $catarr ) Aliases wp_insert_category() with minimal args.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $catarr array | The 'cat_ID' value is required. All other keys are optional. Required |
Return Value
((int)
| false) The ID number of the new or updated Category on success. Zero or FALSE on failure.
Function Information
Since Version
2.0.0
Source File
wp-admin/includes/taxonomy.php
Advertisement