Make WordPress Core


Ignore:
Timestamp:
07/01/2021 10:01:44 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Further type corrections and improvements for various docblocks.

See #53399

File:
1 edited

Legend:

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

    r51116 r51302  
    979979 * @global wpdb $wpdb WordPress database abstraction object.
    980980 *
    981  * @return mixed
     981 * @return string[] Array of meta key names.
    982982 */
    983983function get_meta_keys() {
     
    10141014 * @global wpdb $wpdb WordPress database abstraction object.
    10151015 *
    1016  * @param int $postid
    1017  * @return mixed
     1016 * @param int $postid A post ID.
     1017 * @return array {
     1018 *     Array of meta data arrays for the given post ID.
     1019 *
     1020 *     @type array ...$0 {
     1021 *         Associative array of meta data.
     1022 *
     1023 *         @type string $meta_key   Meta key.
     1024 *         @type mixed  $meta_value Meta value.
     1025 *         @type string $meta_id    Meta ID as a numeric string.
     1026 *         @type string $post_id    Post ID as a numeric string.
     1027 *     }
     1028 * }
    10181029 */
    10191030function has_meta( $postid ) {
Note: See TracChangeset for help on using the changeset viewer.