Support

Home Forums Event Espresso Premium How to load stripe on specific page?

How to load stripe on specific page?

Posted: April 28, 2022 at 5:45 pm

Viewing 2 reply threads


dirk.tussing

April 28, 2022 at 5:45 pm

Hi,

I’m trying to disable loading strip on every page, since we have another plugin already loading stripe.

https://cln.sh/Kxqq5O

I tried
remove_action('AHEE__EE_System__set_hooks_for_shortcodes_modules_and_addons', array('EED_Stripe_Connect_OAuth_Middleman', 'set_hooks'));
and
remove_action('AHEE__EE_System__load_espresso_addons', 'load_espresso_stripe');
but it didn’t work. I see ‘set_hooks’ are still being called.
Can anyone help?


dirk.tussing

April 28, 2022 at 6:32 pm

ah never mind, I was able to dequeue it with simple wp_dequeue_script.


Tony

  • Support Staff

April 29, 2022 at 4:21 am

Hi there,

Glad you figured this out, using wp_dequeue_script would be the method I would have recommended here.

Viewing 2 reply threads

The support post ‘How to load stripe on specific page?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso