Changeset 47157 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 02/01/2020 09:59:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r47122 r47157 788 788 * - description: The description of this menu item. 789 789 * - menu_item_parent: The DB ID of the nav_menu_item that is this item's menu parent, if any. 0 otherwise. 790 * - object: The type of object originally represented, such as "category," "post", or "attachment."790 * - object: The type of object originally represented, such as 'category', 'post', or 'attachment'. 791 791 * - object_id: The DB ID of the original object this menu item represents, e.g. ID for posts and term_id for categories. 792 792 * - post_parent: The DB ID of the original object's parent object, if any (0 otherwise). … … 794 794 * - target: The target attribute of the link element for this menu item. 795 795 * - title: The title of this menu item. 796 * - type: The family of objects originally represented, such as "post_type" or "taxonomy."796 * - type: The family of objects originally represented, such as 'post_type' or 'taxonomy'. 797 797 * - type_label: The singular label used to describe this type of menu item. 798 798 * - url: The URL to which this menu item points. … … 983 983 * 984 984 * @param int $object_id The ID of the original object. 985 * @param string $object_type The type of object, such as "taxonomy" or "post_type." 986 * @param string $taxonomy If $object_type is "taxonomy", $taxonomy is the name of the tax that $object_id belongs to 985 * @param string $object_type The type of object, such as 'taxonomy' or 'post_type'. 986 * @param string $taxonomy If $object_type is 'taxonomy', $taxonomy is the name of the tax 987 * that $object_id belongs to. 987 988 * @return int[] The array of menu item IDs; empty array if none; 988 989 */
Note: See TracChangeset
for help on using the changeset viewer.