Make WordPress Core


Ignore:
Timestamp:
12/10/2020 11:57:29 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various docblock improvements.

See #51800

File:
1 edited

Legend:

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

    r49789 r49790  
    4141     *
    4242     * @since 4.6.0
    43      * @var object $labels
     43     * @var stdClass $labels
    4444     */
    4545    public $labels;
     
    159159
    160160    /**
    161      * The URL to the icon to be used for this menu.
     161     * The URL or reference to the icon to be used for this menu.
    162162     *
    163163     * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme.
     
    318318     *
    319319     * @since 4.6.0
    320      * @var object $cap
     320     * @var stdClass $cap
    321321     */
    322322    public $cap;
     
    381381    /**
    382382     * Constructor.
     383     *
     384     * See the register_post_type() function for accepted arguments for `$args`.
    383385     *
    384386     * Will populate object properties from the provided arguments and assign other
     
    401403    /**
    402404     * Sets post type properties.
     405     *
     406     * See the register_post_type() function for accepted arguments for `$args`.
    403407     *
    404408     * @since 4.6.0
     
    415419         *
    416420         * @param array  $args      Array of arguments for registering a post type.
     421         *                          See the register_post_type() function for accepted arguments.
    417422         * @param string $post_type Post type key.
    418423         */
Note: See TracChangeset for help on using the changeset viewer.