Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_nav_menu_container_allowedtags ›

Desde3.0.0
Obsoleton/a
apply_filters( 'wp_nav_menu_container_allowedtags', array( 'div', 'nav' )
Parâmetros:
  • (array) $tags The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.
    Required: Yes
Definido em:
Codex:

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





Fonte

$allowed_tags = apply_filters( 'wp_nav_menu_container_allowedtags', array( 'div', 'nav' ) );