Show menu item only if user is logged In (not word press login)
Use the wp_nav_menu_objects filter to access the menu items I have used this code: add_filter(‘wp_nav_menu_objects’, ‘ad_filter_menu’, 10, 2); function ad_filter_menu($sorted_menu_objects, $args) { // check for the right menu to rename the menu item from // here we check for theme location of ‘primary-menu’ // alternatively you can check for menu name ($args->menu == ‘menu_name’) if … Read more