Dynamically exclude empty terms from nav menus

Last week a user on WordPress StackExchange inquired about excluding categories from a nav menu on they fly if the category contained no posts. I was able to provide a very simple solution using the¬†wp_get_nav_menu_items action filter and the global … Continue reading Dynamically exclude empty terms from nav menus