WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_nav_menu_container_allowedtags

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/nav-menu-template.php apply_filters 184 /**
* 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'.
*/

Hook Parameters

Parameter Type Name Description
string[] $tags The acceptable HTML tags for use as menu containers.