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



nav_menu_submenu_attributes › WordPress Filter Hooks

Da6.3.0
Deprecaton/a
› apply_filters( 'nav_menu_submenu_attributes', $atts, $args, $depth )
Parametri: (3)
  • () atts { The HTML attributes applied to the `<ul>` element, empty strings are ignored. @type string $class HTML CSS class attribute. }
    Richiesto: Sì
  • () args An object of `wp_nav_menu()` arguments.
    Richiesto: Sì
  • () depth Depth of menu item. Used for padding.
    Richiesto: Sì
Definito a:
Codex:

Filters the HTML attributes applied to a menu list element.





Sorgenti

$atts       = apply_filters( 'nav_menu_submenu_attributes', $atts, $args, $depth );