wp_update_category
wp_update_category ( $catarr )
Parameters:- (array) catarr The 'cat_ID' value is required. All other keys are optional.
Returns:- (int|false) The ID number of the new or updated Category on success. Zero or FALSE on failure.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Aliases wp_insert_category() with minimal args.If you want to update only some fields of an existing category, call this
function with only the new values set inside $catarr.