Support for WishList Member login forms
-
Hi
Mike here from WishList Member. We have a customer that’s using your plugin and reported that a few of our login forms are not working when your plugin is enabled. At first I tried to call do_action(‘login_form’) so your plugin can hook in and add the markup but it only half works. Mark-up is loaded but styles and some scripts are not. I checked your code and it seems that you only enqueue said styles and scripts under certain hard-coded conditions,
Seeing your supported WooCommerce by hooking into their actions, I went ahead and added “wishlistmember_login_action” as an action in WishList Member in the hopes that you can support our plugin as well.
This action passes the context from which it’s called as well so you can customize your markup/styles (if needed) based on the context. We have three contexts as of now:
- shortcode – if the form is generated by the WLM login shortcode
- stripe – if the form is generated by the Stripe integration
- widget – if the form is generated by the widget
This will be included in WishList Member 3.26.10 which is to be released either this week or early next week.
I hope you can update your plugin to support this and make both our customers happy.
If there’s anything you need from us to make this work, please let us know.
Have a great day!
Mike
- You must be logged in to reply to this topic.