Changeset 19593 for trunk/wp-admin/includes/taxonomy.php
- Timestamp:
- 12/13/2011 11:45:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/taxonomy.php
r17071 r19593 87 87 * @param mixed $catarr See defaults below. Set 'cat_ID' to a non-zero value to update an existing category. The 'taxonomy' key was added in 3.0.0. 88 88 * @param bool $wp_error Optional, since 2.5.0. Set this to true if the caller handles WP_Error return values. 89 * @return int|object The ID number of the new or updated Category on success. 89 * @return int|object The ID number of the new or updated Category on success. Zero or a WP_Error on failure, depending on param $wp_error. 90 90 */ 91 91 function wp_insert_category($catarr, $wp_error = false) { … … 146 146 * @since 2.0.0 147 147 * 148 * @param array $catarr The 'cat_ID' value is required. 148 * @param array $catarr The 'cat_ID' value is required. All other keys are optional. 149 149 * @return int|bool The ID number of the new or updated Category on success. Zero or FALSE on failure. 150 150 */
Note: See TracChangeset
for help on using the changeset viewer.