How to switch between two primary menus (programatically0
You can try this code in specific page template function change_primary_menu( $menu ) { // you can check spesific menu id using this print and after that assign in, // and you can also check menu location using this print too echo ‘<pre>’; print_r($menu) ; echo ‘</pre>’; $user = wp_get_current_user(); //in this example im check … Read more