Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AnanthFlycart/5b4ade489bce02c1b0bb5ef5c5e08cb2 to your computer and use it in GitHub Desktop.

Select an option

Save AnanthFlycart/5b4ade489bce02c1b0bb5ef5c5e08cb2 to your computer and use it in GitHub Desktop.
CUW: Load more FBT display locations
add_filter('cuw_fbt_products_display_locations', function ($locations) {
$locations['woocommerce_after_add_to_cart_form'] = esc_html__("After add to cart button", 'checkout-upsell-woocommerce');
return $locations;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment