Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Summery Summery

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

Syntax Syntax

_wp_menu_item_classes_by_context( array $menu_items )

Parameters Parameters


(array) (Required) The current menu item objects to which to add the class property information.

Source Source

File: wp-includes/nav-menu-template.php



Changelog Changelog

Version Description
3.0.0 Introduced.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.