Default WordPress menu content

I have several menus in my theme, but if I don’t create menu in dashboard, then in those menus is displayed default menu. How can I avoid that? I don’t want any menu content until I create one.

This is my code:

<?php wp_nav_menu(array(‘theme_location’ => ‘main_menu_4’, ‘depth’ => 1));?>

Read more here:: Default WordPress menu content

Leave a Reply

Your email address will not be published. Required fields are marked *