wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_nav_menu_container_allowedtags › WordPress Filter Hooks

Da3.0.0
Deprecaton/a
apply_filters( 'wp_nav_menu_container_allowedtags', array( 'div', 'nav' )
Parametri:
  • (string[]) $tags The acceptable HTML tags for use as menu containers. Default is array containing 'div' and 'nav'.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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