Filter hook 'wp_nav_menu_container_allowedtags'

in WP Core File wp-includes/nav-menu-template.php at line 184

Description

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

Occurrences

Filename Line Number
wp-includes/nav-menu-template.php 184

Parameters

Type Name Description
string[] $tags The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.

PHP Doc

/**
		 * Filters the list of HTML tags that are valid for use as menu containers.
		 *
		 * @since 3.0.0
		 *
		 * @param string[] $tags The acceptable HTML tags for use as menu containers.
		 *                       Default is array containing 'div' and 'nav'.
		 */