WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/25/2018 07:32:24 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Document more parameters and properties using typed array notation.

See #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php

    r42746 r42876  
    469469     * @see wp_get_nav_menu_items()
    470470     *
    471      * @param array $items An array of menu item post objects.
    472      * @param object $menu  The menu object.
    473      * @param array  $args  An array of arguments used to retrieve menu item objects.
    474      * @return array Array of menu items,
     471     * @param WP_Post[] $items An array of menu item post objects.
     472     * @param WP_Term  $menu  The menu object.
     473     * @param array     $args  An array of arguments used to retrieve menu item objects.
     474     * @return WP_Post[] Array of menu item objects.
    475475     */
    476476    public function filter_wp_get_nav_menu_items( $items, $menu, $args ) {
     
    542542     * @see wp_get_nav_menu_items()
    543543     *
    544      * @param array $items An array of menu item post objects.
    545      * @param object $menu  The menu object.
    546      * @param array  $args  An array of arguments used to retrieve menu item objects.
    547      * @return array Array of menu items,
     544     * @param WP_Post[] $items An array of menu item post objects.
     545     * @param WP_Term  $menu  The menu object.
     546     * @param array     $args  An array of arguments used to retrieve menu item objects.
     547     * @return WP_Post[] Array of menu item objects.
    548548     */
    549549    public static function sort_wp_get_nav_menu_items( $items, $menu, $args ) {
Note: See TracChangeset for help on using the changeset viewer.