conditional menu with custom fields
This can be done by registering different menu location for different users and then update location according to the User type which user selected during the registration time. We need to add the given code to functions.php file of the theme. In this code we are registering custom menus. function custom_menus_registration() { register_nav_menus( array( ‘user_type_a_menu’ … Read more