apply_filters( 'wp_nav_menu_container_allowedtags', array $tags )
Filters the list of HTML tags that are valid for use as menu containers.
Parameters
- $tags
-
(array) The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.
Source
Changelog
Version | Description |
---|---|
WP-3.0.0 | Introduced. |