$options ) : $loop++; ?>
attribute_label( $name ); ?>
…
attribute_orderby( $name ); switch ( $orderby ) { case 'name' : $terms = get_terms( sanitize_title($name), array('menu_order' => 'ASC', 'hide_empty' => false) ); break; case 'id' : $args = array( 'orderby' => 'id', 'order' => 'ASC', 'menu_order' => false ); break; case 'menu_order' : $args = array( 'menu_order' => 'ASC' ); break; } $terms = get_terms( sanitize_title( $name ), $args ); foreach ( $terms as $term ) { if ( ! in_array( $term->slug, $options ) ) continue; echo '
slug, false ) . '>' . apply_filters( 'woocommerce_variation_option_name', $term->name ) . '
'; } } else { foreach ( $options as $option ) echo '
' . apply_filters( 'woocommerce_variation_option_name', $option ) . '
'; } } ?>
' . __( 'Clear selection', 'woocommerce' ) . ''; ?>
product_type); ?>