From c1ff9b62f78f3eb3fd8dae2ec92888e80375bf14 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 23 Jun 2017 21:26:13 +0000 Subject: [PATCH] Docs: Document `tags_input` parameter in `wp_insert_post()`. Props barryceelen. Fixes #41137. git-svn-id: https://develop.svn.wordpress.org/trunk@40925 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 0d624006d7..3e00f19876 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -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 array $post_category Array of category names, slugs, or IDs. * 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 $meta_input Array of post meta values keyed by their post meta key. Default empty. * }