Changeset 44660
- Timestamp:
- 01/21/2019 01:44:49 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r44636 r44660 3369 3369 * @type string $post_mime_type The mime type of the post. Default empty. 3370 3370 * @type string $guid Global Unique ID for referencing the post. Default empty. 3371 * @type array $post_category Array of category names, slugs, orIDs.3371 * @type array $post_category Array of category IDs. 3372 3372 * Defaults to value of the 'default_category' option. 3373 3373 * @type array $tags_input Array of tag names, slugs, or IDs. Default empty. … … 4382 4382 * @param int $post_ID Optional. The Post ID. Does not default to the ID 4383 4383 * of the global $post. Default 0. 4384 * @param array|int $post_categories Optional. List of categor ies or ID ofcategory.4384 * @param array|int $post_categories Optional. List of category IDs, or the ID of a single category. 4385 4385 * Default empty array. 4386 * @param bool $append If true, don't delete existing categories, just add on.4387 * If false, replace the categories with the new categories.4386 * @param bool $append If true, don't delete existing categories, just add on. 4387 * If false, replace the categories with the new categories. 4388 4388 * @return array|false|WP_Error Array of term taxonomy IDs of affected categories. WP_Error or false on failure. 4389 4389 */
Note: See TracChangeset
for help on using the changeset viewer.