You are here:
It could be a great new option available to this plugin in a future release!
Thanks, it works perfectly in a plugin.
That was the key, as mentioned above, to trigger earlier with this hook!
Thanks for your reply.
I’ll try out in a separate plugin.
Strange, after disable all plugins & gone back to a standard theme (Sketch), the hook still refuse to fired!
The hook works when added inside your code (after the hook for eMember plugin) but not outside of the plugin, in functions.php file for example?!
Well, apparently the usage of this hook has been limited to WP-Members Membership Plugin.
Can you confirm?!
I inserted your sample code in the functions.php file (child theme) but it is not fired after a cancellation, either by using a cancellation link (https://domain.com/?asp_sub_action=cancel&sub_token=XXXXX) or by clicking on the Cancel Subscription button (admin).
Right now, only tested with Stripe Test Mode.