wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_nav_menu_max_depth › WordPress Function

Sincen/a
Deprecatedn/a
wp_nav_menu_max_depth ( $classes )
Parameters:
  • (string) $classes
    Required: Yes
Returns:
  • (string)
Defined at:
Codex:

No description yet.



Source

function wp_nav_menu_max_depth( $classes ) {
	global $_wp_nav_menu_max_depth;
	return "$classes menu-max-depth-$_wp_nav_menu_max_depth";
}