File: wp-includes/class-wp-navigation-fallback.php
-
Updates the wp_navigation custom post type schema, in order to expose additional fields in the embeddable links of WP_REST_Navigation_Fallback_Controller.
-
Creates a Navigation Menu post from a Classic Menu.
-
Determines the most appropriate classic navigation menu to use as a fallback.
-
Sorts the classic menus and returns the most recently created one.
-
Returns the classic menu with the slug `primary` if it exists.
-
Gets the classic menu assigned to the `primary` navigation menu location if it exists.
-
Creates a default Navigation Block Menu fallback.
-
Gets the rendered markup for the default fallback blocks.
-
Manages fallback behavior for Navigation menus.
-
Gets (and/or creates) an appropriate fallback Navigation Menu.
-
Filters whether or not a fallback should be created.
-
Finds the most recently published `wp_navigation` post type.