Make WordPress Core

Changeset 49493


Ignore:
Timestamp:
11/04/2020 01:37:21 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a reference to wp_insert_post() for information on the arguments accepted by wp_update_post().

See #50768.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r49451 r49493  
    43284328 *
    43294329 * @param array|object $postarr          Optional. Post data. Arrays are expected to be escaped,
    4330  *                                       objects are not. Default array.
     4330 *                                       objects are not. See wp_insert_post() for accepted arguments.
     4331 *                                       Default array.
    43314332 * @param bool         $wp_error         Optional. Whether to return a WP_Error on failure. Default false.
    43324333 * @param bool         $fire_after_hooks Optional. Whether to fire the after insert hooks. Default true.
Note: See TracChangeset for help on using the changeset viewer.