check current_theme_supports in admin_menu hook
I’m adding a menu and sub-menus via the admin_menu hook in my functions.php. One of the sub-menus I want to add is menus. I want to make sure that the theme supports menus before I do that, so I tried using the current_theme_supports function, but it returns false, apparently because $_wp_theme_features is still null at … Read more