'title', 'order' => 'ASC', 'hide_empty' => 0, 'parent' => 0 ); $product_categories = get_terms( 'product_cat', $arcade_games_args ); $arcade_games_count = count($product_categories); if ( $arcade_games_count > 0 ){ foreach ( $product_categories as $arcade_games_product_category ) { $product_cat_id = $arcade_games_product_category->term_id; $cat_link = get_category_link( $product_cat_id ); if ($arcade_games_product_category->category_parent == 0) { ?>
  • name ); ?>