mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Document the import_id parameter of wp_insert_post().
Follow-up to [9100]. Props donmhico. Fixes #52943. git-svn-id: https://develop.svn.wordpress.org/trunk@50621 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0df28171ed
commit
f7d5b2bca6
@ -3756,6 +3756,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 int $import_id The post ID to be used when inserting a new post.
|
||||
* If specified, must not match any existing post ID. Default 0.
|
||||
* @type int[] $post_category Array of category IDs.
|
||||
* Defaults to value of the 'default_category' option.
|
||||
* @type array $tags_input Array of tag names, slugs, or IDs. Default empty.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user