Pro Forms (Stripe) not Loading Correctly via Reusable Blocks (Patterns) or Customized Shortcode? Try this

I didn’t try it with reusable blocks yet, but the php hack below should fix Stripe Forms not rendering properly when within a Reusable Block (Pattern) or if you have a custom shortcode via PHP with a pre-designed form you intend to repeat multiple times across your site.

Use it at your own risk, of course :innocent:

// Force s2Member to always load its JS/CSS (old behavior).
add_filter('ws_plugin__s2member_lazy_load_css_js', '__return_true');

Just add the code above to a must use plugin or something similar. Fixed it here. AI helped me find this solution.

I wish it works for you too!

:tea: :jack_o_lantern: :clinking_glasses: :turkey: :pie: :tea: