1 | | Also, the codex sez: |
2 | | |
3 | | **'fallback_cb'** |
4 | | (callable|bool) If the menu doesn't exists, a callback function will fire. Default is 'wp_page_menu'. Set to false for no fallback. |
5 | | |
6 | | https://developer.wordpress.org/reference/functions/wp_nav_menu/ |
7 | | |
8 | | However, this is firing even when the menu DOES exist. That is, I defined a fallback_cb and it's always firing - even when I have a valid menu request (because I check it against $_wp_registered_nav_menus. |
9 | | |
10 | | Someone (me) or something (wp_nav_menu()) has lost its mind :) |
| 1 | Deleted |