WP_Customize_Nav_Menus::available_item_types

SummerySummery

Return an array of all the available item types.

Syntax

WP_Customize_Nav_Menus::available_item_types()

ReturnReturn

(array) The available menu item types.

SourceSource

File: wp-includes/class-wp-customize-nav-menus.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Each array item now includes a $type_label in addition to $title, $type, and $object.
4.3.0 Introduced.
Scroll to Top