woocommerce_product_loop_title_classes

woocommerce_product_loop_title_classes

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_loop_title_classes') is found 1 times:

  • /includes/wc-template-functions.php line 1196
    1192
    1193
    1194
    1195
    1196
    1197
    1198
    1199
    1200
    1201
    1202
        /**
         * Show the product title in the product loop. By default this is an H2.
         */
        function woocommerce_template_loop_product_title() {
            echo '<h2 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h2>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
        }
    }
    if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {
     
        /**
         * Show the subcategory title in the product loop.