Make WordPress Core


Ignore:
Timestamp:
03/02/2025 12:41:48 AM (7 weeks ago)
Author:
johnbillion
Message:

Docs: Various improvements to inline documentation.

See #62281

File:
1 edited

Legend:

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

    r58983 r59896  
    494494 * @param array|null $post_data Optional. The array of post data to process.
    495495 *                              Defaults to the `$_POST` superglobal.
    496  * @return array
     496 * @return array {
     497 *     An array of updated, skipped, and locked post IDs.
     498 *
     499 *     @type int[] $updated An array of updated post IDs.
     500 *     @type int[] $skipped An array of skipped post IDs.
     501 *     @type int[] $locked  An array of locked post IDs.
     502 * }
    497503 */
    498504function bulk_edit_posts( $post_data = null ) {
     
    12121218 * @param array|false $q Optional. Array of query variables to use to build the query.
    12131219 *                       Defaults to the `$_GET` superglobal.
    1214  * @return array
     1220 * @return string[] An array of all the statuses for the queried post type.
    12151221 */
    12161222function wp_edit_posts_query( $q = false ) {
     
    13841390 * @param array|false $q Optional. Array of query variables to use to build the query.
    13851391 *                       Defaults to the `$_GET` superglobal.
    1386  * @return array
     1392 * @return array {
     1393 *     Array containing the post mime types and available post mime types.
     1394 *
     1395 *     @type array[]  $post_mime_types       Post mime types.
     1396 *     @type string[] $avail_post_mime_types Available post mime types.
     1397 * }
    13871398 */
    13881399function wp_edit_attachments_query( $q = false ) {
Note: See TracChangeset for help on using the changeset viewer.