Skip to content

Instantly share code, notes, and snippets.

@Glinkfr
Created November 23, 2022 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Glinkfr/abb9efd6364f933fd8a567a30ae628cf to your computer and use it in GitHub Desktop.
Save Glinkfr/abb9efd6364f933fd8a567a30ae628cf to your computer and use it in GitHub Desktop.
Code à ajouter au fichier function du theme enfant afin de régler le problème d'affichage des boutons PayPal avec WooCommerce et Divi
add_filter('woocommerce_paypal_payments_single_product_renderer_hook', function() {
return 'woocommerce_after_add_to_cart_form';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment