Timeline for wp_nav_menu without menu or theme_location specified
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 19, 2021 at 17:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 20, 2021 at 16:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 8, 2020 at 14:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 7, 2020 at 15:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 8, 2020 at 14:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 7, 2019 at 15:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 4, 2019 at 20:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 4, 2019 at 13:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 11, 2014 at 23:00 | comment | added | Milo | if there's no menu or theme location, there's nothing to look for in other menus- any valid menu is as likely to be the correct one as any other valid menu, so there's no reason to continue looking. | |
Dec 11, 2014 at 22:43 | comment | added | Eric K |
$menus = wp_get_nav_menus( array( 'orderby' => 'name' ) ); does clarify how it works. Am I correct in assuming that if it isn't found in the first non-empty menu, it stops attempting to look in other menus?
|
|
Dec 11, 2014 at 19:12 | answer | added | Rarst | timeline score: 1 | |
Dec 11, 2014 at 18:06 | comment | added | Milo | easiest thing to do is look in source | |
Dec 11, 2014 at 17:26 | history | asked | Eric K | CC BY-SA 3.0 |