apply_filters( 'wp_nav_menu_container_allowedtags', array $tags )

Filters the list of HTML tags that are valid for use as menu containers.

Description Description

Parameters Parameters


(array) The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.

Top ↑

Source Source

File: wp-includes/nav-menu-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.