woocommerce_display_product_attributes

woocommerce_display_product_attributes

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_display_product_attributes') is found 1 times:

  • /includes/wc-template-functions.php line 3810
    3806
    3807
    3808
    3809
    3810
    3811
    3812
    3813
    3814
    3815
    3816
    * @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.