Skip to content

Instantly share code, notes, and snippets.

@noellesteegs
Created November 8, 2023 09:39
Show Gist options
  • Save noellesteegs/db553da5b1885ac8ef6a63de73fc5b66 to your computer and use it in GitHub Desktop.
Save noellesteegs/db553da5b1885ac8ef6a63de73fc5b66 to your computer and use it in GitHub Desktop.
Change WooCommerce cross-sells heading text on the cart page
add_filter( 'woocommerce_product_cross_sells_products_heading', 'na_change_cross_sells_products_heading' );
function na_change_cross_sells_products_heading() {
return 'You will definitely like';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment