Docs: Document `tags_input` parameter in `wp_insert_post()`.

Props barryceelen.
Fixes #41137.
Built from https://develop.svn.wordpress.org/trunk@40925


git-svn-id: http://core.svn.wordpress.org/trunk@40775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-06-23 21:27:44 +00:00
parent 779788d8d6
commit cf458a871d
2 changed files with 2 additions and 1 deletions

View File

@ -2964,6 +2964,7 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) {
* @type string $guid Global Unique ID for referencing the post. Default empty. * @type string $guid Global Unique ID for referencing the post. Default empty.
* @type array $post_category Array of category names, slugs, or IDs. * @type array $post_category Array of category names, slugs, or IDs.
* Defaults to value of the 'default_category' option. * Defaults to value of the 'default_category' option.
* @type array $tags_input Array of tag names, slugs, or IDs. Default empty.
* @type array $tax_input Array of taxonomy terms keyed by their taxonomy name. Default empty. * @type array $tax_input Array of taxonomy terms keyed by their taxonomy name. Default empty.
* @type array $meta_input Array of post meta values keyed by their post meta key. Default empty. * @type array $meta_input Array of post meta values keyed by their post meta key. Default empty.
* } * }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-40924'; $wp_version = '4.9-alpha-40925';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.