WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 8 months ago

Last modified 8 months ago

#19264 closed enhancement (wontfix)

Add get_nav_menu_item_children()

Reported by: wpsmith Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:

Description

Just as get_page_children() exists, it would be good to have get_nav_menu_item_children(). Since the object is different the code get_page_children() needs to be slightly modified.

Attachments (1)

get_nav_menu_item_children.patch (992 bytes) - added by wpsmith 2 years ago.
Patch

Download all attachments as: .zip

Change History (3)

wpsmith2 years ago

Patch

comment:1 c3mdigital8 months ago

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to 3.0

Closing as wont fix for now. Feel free to reopen and provide a use case and any other supporting arguments for adding this new function.

comment:2 SergeyBiryukov8 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.