wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_nav_menu_container_allowedtags › Les Filtres WordPress

Depuis3.0.0
Dépréciéen/a
apply_filters( 'wp_nav_menu_container_allowedtags', array( 'div', 'nav' )
Paramètres:
  • (string[]) $tags The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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