The generate_navigation_location filter allows you to choose where your primary navigation is located.
Default (string): Your option set in Customize > Layout > Primary Navigation
Available options
nav-below-header
nav-above-header
nav-float-right
nav-float-left
nav-left-sidebar
nav-right-sidebar
If you want to remove the navigation from a page, simply return empty single quotes:
return '';
Usage
Please refer to the Using Filters article to learn how to use this filter.