Recent

crp_wc_cart_related_products_headingfilterPro only

Filter the heading displayed above the cart related products section.

Type: filter
Since: 4.3.0
Source: includes/pro/woocommerce/class-woocommerce-module.php line 952

Parameters

Type Name Description
string $heading Heading HTML/text.
float $gap Amount remaining until free shipping.
int[] $product_ids Matched product IDs.

Usage

add_filter( 'crp_wc_cart_related_products_heading', function($heading, $gap, $product_ids) {
    // ...
    return $heading;
} );