Changeset 50828 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 05/07/2021 08:14:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu.php
r50558 r50828 86 86 * @global array $_wp_registered_nav_menus 87 87 * 88 * @param array$locations Associative array of menu location identifiers (like a slug) and descriptive text.88 * @param string[] $locations Associative array of menu location identifiers (like a slug) and descriptive text. 89 89 */ 90 90 function register_nav_menus( $locations = array() ) { … … 144 144 * @global array $_wp_registered_nav_menus 145 145 * 146 * @return array Registered navigation menu locations. If none are registered, an empty array. 146 * @return string[] Associative array of egistered navigation menu descriptions keyed 147 * by their location. If none are registered, an empty array. 147 148 */ 148 149 function get_registered_nav_menus() { … … 159 160 * @since 3.0.0 160 161 * 161 * @return array Registered navigation menu locations and the menus assigned them. 162 * If none are registered, an empty array. 163 */ 164 162 * @return int[] Associative array of egistered navigation menu IDs keyed by their 163 * location name. If none are registered, an empty array. 164 */ 165 165 function get_nav_menu_locations() { 166 166 $locations = get_theme_mod( 'nav_menu_locations' );
Note: See TracChangeset
for help on using the changeset viewer.