Changeset 48793
- Timestamp:
- 08/15/2020 01:10:15 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r48620 r48793 989 989 * @since 3.0.0 990 990 * 991 * @param int $object_id The ID of the original object. 992 * @param string $object_type The type of object, such as 'taxonomy' or 'post_type'. 993 * @param string $taxonomy If $object_type is 'taxonomy', $taxonomy is the name of the tax 994 * that $object_id belongs to. 995 * @return int[] The array of menu item IDs; empty array if none; 991 * @param int $object_id Optional. The ID of the original object. Default 0. 992 * @param string $object_type Optional. The type of object, such as 'post_type' or 'taxonomy'. 993 * Default 'post_type'. 994 * @param string $taxonomy Optional. If $object_type is 'taxonomy', $taxonomy is the name 995 * of the tax that $object_id belongs to. Default empty. 996 * @return int[] The array of menu item IDs; empty array if none. 996 997 */ 997 998 function wp_get_associated_nav_menu_items( $object_id = 0, $object_type = 'post_type', $taxonomy = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.