WordPress.org

Make WordPress Core

Changeset 37255


Ignore:
Timestamp:
04/20/2016 01:53:32 PM (4 years ago)
Author:
boonebgorges
Message:

Add parameter documentation for 'post_category' to wp_insert_post().

Props Latz.
Fixes #36601.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r37220 r37255  
    30063006 *     @type string $post_mime_type        The mime type of the post. Default empty.
    30073007 *     @type string $guid                  Global Unique ID for referencing the post. Default empty.
     3008 *     @type array  $post_category         Array of category names, slugs, or IDs.
     3009 *                                         Defaults to value of the 'default_category' option.
    30083010 *     @type array  $tax_input             Array of taxonomy terms keyed by their taxonomy name. Default empty.
    30093011 *     @type array  $meta_input            Array of post meta values keyed by their post meta key. Default empty.
Note: See TracChangeset for help on using the changeset viewer.