@@ -38,7 +38,82 @@ public function __construct() {
3838 * Create a new post.
3939 *
4040 * ## OPTIONS
41- *
41+ *
42+ * [--post_author=<post_author>]
43+ * : The ID of the user who added the post. Default is the current user ID.
44+ *
45+ * [--post_date=<post_date>]
46+ * : The date of the post. Default is the current time.
47+ *
48+ * [--post_date_gmt=<post_date_gmt>]
49+ * : The date of the post in the GMT timezone. Default is the value of $post_date.
50+ *
51+ * [--post_content=<post_content>]
52+ * : The post content. Default empty.
53+ *
54+ * [--post_content_filtered=<post_content_filtered>]
55+ * : The filtered post content. Default empty.
56+ *
57+ * [--post_title=<post_title>]
58+ * : The post title. Default empty.
59+ *
60+ * [--post_excerpt=<post_excerpt>]
61+ * : The post excerpt. Default empty.
62+ *
63+ * [--post_status=<post_status>]
64+ * : The post status. Default 'draft'.
65+ *
66+ * [--post_type=<post_type>]
67+ * : The post type. Default 'post'.
68+ *
69+ * [--comment_status=<comment_status>]
70+ * : Whether the post can accept comments. Accepts 'open' or 'closed'. Default is the value of 'default_comment_status' option.
71+ *
72+ * [--ping_status=<ping_status>]
73+ * : Whether the post can accept pings. Accepts 'open' or 'closed'. Default is the value of 'default_ping_status' option.
74+ *
75+ * [--post_password=<post_password>]
76+ * : The password to access the post. Default empty.
77+ *
78+ * [--post_name=<post_name>]
79+ * : The post name. Default is the sanitized post title when creating a new post.
80+ *
81+ * [--to_ping=<to_ping>]
82+ * : Space or carriage return-separated list of URLs to ping. Default empty.
83+ *
84+ * [--pinged=<pinged>]
85+ * : Space or carriage return-separated list of URLs that have been pinged. Default empty.
86+ *
87+ * [--post_modified=<post_modified>]
88+ * : The date when the post was last modified. Default is the current time.
89+ *
90+ * [--post_modified_gmt=<post_modified_gmt>]
91+ * : The date when the post was last modified in the GMT timezone. Default is the current time.
92+ *
93+ * [--post_parent=<post_parent>]
94+ * : Set this for the post it belongs to, if any. Default 0.
95+ *
96+ * [--menu_order=<menu_order>]
97+ * : The order the post should be displayed in. Default 0.
98+ *
99+ * [--post_mime_type=<post_mime_type>]
100+ * : The mime type of the post. Default empty.
101+ *
102+ * [--guid=<guid>]
103+ * : Global Unique ID for referencing the post. Default empty.
104+ *
105+ * [--post_category=<post_category>]
106+ * : Array of category names, slugs, or IDs. Defaults to value of the 'default_category' option.
107+ *
108+ * [--tags_input=<tags_input>]
109+ * : Array of tag names, slugs, or IDs. Default empty.
110+ *
111+ * [--tax_input=<tax_input>]
112+ * : Array of taxonomy terms keyed by their taxonomy name. Default empty.
113+ *
114+ * [--meta_input=<meta_input>]
115+ * : Array of post meta values keyed by their post meta key. Default empty.
116+ *
42117 * [<file>]
43118 * : Read post content from <file>. If this value is present, the
44119 * `--post_content` argument will be ignored.
@@ -58,6 +133,7 @@ public function __construct() {
58133 * [--porcelain]
59134 * : Output just the new post id.
60135 *
136+ *
61137 * ## EXAMPLES
62138 *
63139 * # Create post and schedule for future
@@ -99,6 +175,81 @@ public function create( $args, $assoc_args ) {
99175 *
100176 * <id>...
101177 * : One or more IDs of posts to update.
178+ *
179+ * [--post_author=<post_author>]
180+ * : The ID of the user who added the post. Default is the current user ID.
181+ *
182+ * [--post_date=<post_date>]
183+ * : The date of the post. Default is the current time.
184+ *
185+ * [--post_date_gmt=<post_date_gmt>]
186+ * : The date of the post in the GMT timezone. Default is the value of $post_date.
187+ *
188+ * [--post_content=<post_content>]
189+ * : The post content. Default empty.
190+ *
191+ * [--post_content_filtered=<post_content_filtered>]
192+ * : The filtered post content. Default empty.
193+ *
194+ * [--post_title=<post_title>]
195+ * : The post title. Default empty.
196+ *
197+ * [--post_excerpt=<post_excerpt>]
198+ * : The post excerpt. Default empty.
199+ *
200+ * [--post_status=<post_status>]
201+ * : The post status. Default 'draft'.
202+ *
203+ * [--post_type=<post_type>]
204+ * : The post type. Default 'post'.
205+ *
206+ * [--comment_status=<comment_status>]
207+ * : Whether the post can accept comments. Accepts 'open' or 'closed'. Default is the value of 'default_comment_status' option.
208+ *
209+ * [--ping_status=<ping_status>]
210+ * : Whether the post can accept pings. Accepts 'open' or 'closed'. Default is the value of 'default_ping_status' option.
211+ *
212+ * [--post_password=<post_password>]
213+ * : The password to access the post. Default empty.
214+ *
215+ * [--post_name=<post_name>]
216+ * : The post name. Default is the sanitized post title when creating a new post.
217+ *
218+ * [--to_ping=<to_ping>]
219+ * : Space or carriage return-separated list of URLs to ping. Default empty.
220+ *
221+ * [--pinged=<pinged>]
222+ * : Space or carriage return-separated list of URLs that have been pinged. Default empty.
223+ *
224+ * [--post_modified=<post_modified>]
225+ * : The date when the post was last modified. Default is the current time.
226+ *
227+ * [--post_modified_gmt=<post_modified_gmt>]
228+ * : The date when the post was last modified in the GMT timezone. Default is the current time.
229+ *
230+ * [--post_parent=<post_parent>]
231+ * : Set this for the post it belongs to, if any. Default 0.
232+ *
233+ * [--menu_order=<menu_order>]
234+ * : The order the post should be displayed in. Default 0.
235+ *
236+ * [--post_mime_type=<post_mime_type>]
237+ * : The mime type of the post. Default empty.
238+ *
239+ * [--guid=<guid>]
240+ * : Global Unique ID for referencing the post. Default empty.
241+ *
242+ * [--post_category=<post_category>]
243+ * : Array of category names, slugs, or IDs. Defaults to value of the 'default_category' option.
244+ *
245+ * [--tags_input=<tags_input>]
246+ * : Array of tag names, slugs, or IDs. Default empty.
247+ *
248+ * [--tax_input=<tax_input>]
249+ * : Array of taxonomy terms keyed by their taxonomy name. Default empty.
250+ *
251+ * [--meta_input=<meta_input>]
252+ * : Array of post meta values keyed by their post meta key. Default empty.
102253 *
103254 * [<file>]
104255 * : Read post content from <file>. If this value is present, the
0 commit comments