mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Add parameter documentation for 'post_category' to wp_insert_post().
Props Latz. Fixes #36601. git-svn-id: https://develop.svn.wordpress.org/trunk@37255 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4871008d0c
commit
17dc5ba0bf
@ -3005,6 +3005,8 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) {
|
||||
* @type int $menu_order The order the post should be displayed in. Default 0.
|
||||
* @type string $post_mime_type The mime type of 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.
|
||||
* Defaults to value of the 'default_category' option.
|
||||
* @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.
|
||||
* }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user