WordPress at a glance

Menu (рубрика)

get_nav_menu_locations()

{{desc}}

get_the_posts_navigation()

Returns the navigation to next/previous set of posts, when applicable.

has_nav_menu()

Determines whether a registered nav menu location has a menu assigned to it.

the_posts_navigation()

Displays the navigation to next/previous set of posts, when applicable.

wp_get_nav_menu_items()

Retrieves all menu items of a navigation menu.

wp_get_nav_menu_name()

Returns the name of a navigation menu.

wp_get_nav_menu_object()

Returns a navigation menu object.

wp_get_nav_menus()

Returns all navigation menu objects.