Advertisement

Summery Summery

Filters the available menu item types.

Syntax Syntax

apply_filters( 'customize_nav_menu_available_item_types', array $item_types )

Parameters Parameters

$item_types

(array) Navigation menu item types.

Source Source

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

Advertisement

Changelog Changelog

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.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.