WordPress.org

Make WordPress Core

Changeset 38128


Ignore:
Timestamp:
07/21/2016 06:00:41 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct and expand the docs for the $taxonomy argument of wp_nav_menu_item_taxonomy_meta_box().

Props mehulkaklotar for initial patch.
See #37211.

File:
1 edited

Legend:

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

    r38127 r38128  
    585585 *
    586586 * @param string $object Not used.
    587  * @param string $taxonomy The taxonomy object.
     587 * @param array  $taxonomy {
     588 *     Data that will be used as arguments of the taxonomy meta box.
     589 *
     590 *     @type string $id       Meta box ID (used in the 'id' attribute for the meta box).
     591 *     @type string $title    Title of the meta box.
     592 *     @type string $callback Function that fills the box with the desired content.
     593 *     @type object $args     The current taxonomy object for this menu item meta box.
     594 * }
    588595 */
    589596function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.