is_taxonomy() ) : ?> get_name() ) ); ?> is_taxonomy() && $attribute->get_taxonomy_object() ) { $attribute_taxonomy = $attribute->get_taxonomy_object(); $attribute_types = wc_get_attribute_types(); if ( ! array_key_exists( $attribute_taxonomy->attribute_type, $attribute_types ) ) { $attribute_taxonomy->attribute_type = 'select'; } if ( 'select' === $attribute_taxonomy->attribute_type ) { $attribute_orderby = ! empty( $attribute_taxonomy->attribute_orderby ) ? $attribute_taxonomy->attribute_orderby : 'name'; /** * Filter the length (number of terms) rendered in the list. * * @since 8.8.0 * @param int $term_limit The maximum number of terms to display in the list. */ $term_limit = absint( apply_filters( 'woocommerce_admin_terms_metabox_datalimit', 50 ) ); ?>