Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Glinkfr
Created November 23, 2022 07:56
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/b498434c219c51539dee849515a73df1 to your computer and use it in GitHub Desktop.
Save Glinkfr/b498434c219c51539dee849515a73df1 to your computer and use it in GitHub Desktop.
Position par défaut des boutons PayPal sur la page du produit
add_filter('woocommerce_paypal_payments_single_product_renderer_hook', function() {
return 'woocommerce_after_add_to_cart_button';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment