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 `
Parameters
- .
- ( 3.0.0 ) . .
- ( string ) $item_output The menu item’s starting HTML output. . . .
- ( WP_Post ) $item Menu item data object. . . .
- ( int ) $depth Depth of menu item. Used for padding. . . .
- $args
- ( stdClass ) An object of wp_nav_menu() arguments. . . .