woocommerce_display_product_attributes

woocommerce_display_product_attributes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_display_product_attributes') is found 1 times:

  • /includes/wc-template-functions.php line 3616
    	 * @since 3.6.0.
    	 * @param array $product_attributes Array of attributes to display; label, value.
    	 * @param WC_Product $product Showing attributes for this product.
    	 */
    	$product_attributes = apply_filters( 'woocommerce_display_product_attributes', $product_attributes, $product );
    
    	wc_get_template(
    		'single-product/product-attributes.php',
    		array(
    			'product_attributes' => $product_attributes,
    			// Legacy params.