wp_nav_menu_container_allowedtags

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'wp_nav_menu_container_allowedtags', string[] $tags )

Parameters Parameters

$tags

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

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?