apply_filters( 'wp_nav_menu_container_allowedtags', string[] $tags )
Filters the list of HTML tags that are valid for use as menu containers.
Parameters
- $tags
-
(string[]) The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_nav_menu_container_allowedtags