walker_nav_menu_start_el – filter

Filters a menu item’s starting output. The menu item’s starting output only includes `$args->before`, the opening ``, the menu item’s title, the closing ``, and `$args->after`. Currently, there is no filter for modifying the opening and closing `

  • ` for a menu item.

    Parameters

    .
    ( 3.0.0 ) . .
    ( string ) $item_output The menu item’s starting HTML output. . . .
    ( WP_Post ) $menu_item Menu item data object. . . .
    ( int ) $depth Depth of menu item. Used for padding. . . .
    $args
    ( stdClass ) An object of wp_nav_menu() arguments. . . .
  • ` for a menu item.
  • API Letters: ,,,,

    Implementers