-
-
Notifications
You must be signed in to change notification settings - Fork 513
Implement new PagesMenu API #2292
Copy link
Copy link
Closed
Description
Per discussion on #2089, implement the following:
- A
Timber\PagesMenuclass. - A
timber/pages_menu/classmapfilter. - A
Timber::get_pages_menu()function. - A
Timber\PagesMenuFactoryclass - used under the hood in::get_pages_menu(), calls thetimber/pages_menu/classmapfilter. - Make
MenuandMenuItemconstructors protected. - Draft the relevant documentation as well as the notes in the Upgrade Guide for this.
There is already a test-timber-pages-menu.php test file. We may want to flesh this out with a few more tests, or redesign some of the existing tests.
Reactions are currently unavailable