wp_update_category


wp_update_category ( $catarr )

Parameters:
  • (array) $catarr The 'cat_ID' value is required. All other keys are optional.
Returns:
  • (int|bool) The ID number of the new or updated Category on success. Zero or FALSE on failure.
Defined at:

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.

Related Functions

wp_delete_category, wp_create_category, wp_update_core, wp_update_term, update_category_cache

Top Google Results

User discussions

wpseek mobile