_wp_menu_item_classes_by_context


_wp_menu_item_classes_by_context ( $menu_items )

Access:
  • private
Parameters:
  • (array) menu_items The current menu item objects to which to add the class property information.
Defined at:

Description

Adds the class property classes for the current context, if applicable.

Related Functions

_wp_sort_menu_items_by_parent_id, _nav_menu_item_id_use_once, wp_nav_menu_item_link_meta_box, _wp_get_menu_items_at_location, wp_nav_menu_item_post_type_meta_box

Top Google Results

User discussions

wpseek mobile