woocommerce_nav_menu_item_classes

The WooCommerce woocommerce nav menu item classes function.

Description

woocommerce_nav_menu_item_classes( $menu_items, $args ); 

Parameters (2)

0. $menu_items
The menu items.
1. $args
The args.

Usage

  1. if ( !function_exists( 'woocommerce_nav_menu_item_classes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4. // The menu items. 
  5. $menu_items = null; 
  6.  
  7. // The args. 
  8. $args = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = woocommerce_nav_menu_item_classes($menu_items, $args); 
  12.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_nav_menu_item_classes( $menu_items, $args ) { 
  2. wc_deprecated_function( __FUNCTION__, '3.0', 'wc_nav_menu_item_classes' ); 
  3. return wc_nav_menu_item_classes( $menu_items );