wpseek.com
A WordPress-centric search engine for devs and theme authors
walker_nav_menu_start_el › WordPress Filter Hooks
Since3.0.0
Deprecatedn/a
› apply_filters( 'walker_nav_menu_start_el', $item_output, $menu_item, $depth, $args )
Parameters: (4) |
|
Defined at: |
|
Codex: |
Filters a menu item's starting output.
The menu item's starting output only includes $args->before
, the opening <a>
,
the menu item's title, the closing </a>
, and $args->after
. Currently, there is
no filter for modifying the opening and closing <li>
for a menu item.
Related Functions: walk_nav_menu_tree, wp_save_nav_menu_items, wp_update_nav_menu_item, wp_get_nav_menu_to_edit, wp_get_nav_menu_name, wp_nav_menu_setup