A WordPress-centric search engine for devs and theme authors



wp_setup_nav_menu_item ›

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_setup_nav_menu_item', $menu_item )
Parameters:
  • (object) $menu_item The menu item object.
    Required: Yes
Defined at:
Codex:

Filters a navigation menu item object.





Source

return apply_filters( 'wp_setup_nav_menu_item', $menu_item );