Md Mehedi Hasan

register_nav_menu

function register_primary_menu() {
    register_nav_menu( 'primary', __( 'Primary Menu', 'theme-text-domain' ) );
}
add_action( 'after_setup_theme', 'register_primary_menu' );