Why WooCommerce Memberships Ending Soon Email Doesn’t Work?

I’ve been working with WooCommerce Memberships and Subscriptions projects since 2015, and I had to do this research long time ago. Well, but better later than never, right?


If you use both WooCommerce Memberships and Subscriptions plugins on your website you may wonder why "Memberships Ending Soon" email is never sent.

WooCommerce Memberships Ending Soon email
WooCommerce > Settings > Emails

First reason – there is a hook, which turns off this email if a Membership is connected to a Subscription

There is a hook woocommerce_email_enabled_WC_Memberships_User_Membership_Ending_Soon_Email deep inside WooCommerce Memberships plugin, so, the Subscriptions plugin connects to this hook and:

Example of overriding this scenario:

add_filter( 'woocommerce_email_enabled_WC_Memberships_User_Membership_Ending_Soon_Email', 'misha_override_ending_soon', 30, 2 );
function misha_override_ending_soon( $is_enabled, $user_membership ){
	return true;

Do you think anything will change if you use that hook? Lol, it won’t.

Second reason – scheduled action will not be created for Memberships without an expiration date

But as you can see below, all Subscription-based memberships doesn’t have an expiration date.

Memberships connected to subscriptions do not have an expiration date
Go to WooCommerce > Memberships and look at the Expires column.

So, even if you run the hook I mentioned above, Ending Soon emails (wc_memberships_user_membership_expiring_soon hook) won’t be scheduled anyway.

But why WooCommerce does it? I think it is because subscriptions doesn’t support early renewals at this moment. So, there is just no reason to send a reminder a couple days ago because you can not put the renewal link into the email.

How to Make Ending Soon Emails Work for Subscription-based Memberships?

Currently I’m working on a plugin that allows to turn the Ending Soon emails on for Subscription-based memberships too. Leave a comment down below ? if you want me to send you the link to the plugin once it will be ready.

Related Posts

Misha Rudrastyh

Misha Rudrastyh

I love WordPress, WooCommerce and Gutenberg so much. 10 yrs of experience.

Need some custom developer help? Let me know

Follow Misha

Need some help with WooCommerce?

If you need some professional developer help, I will be happy to assist you.

Contact me Who I am?

Comments — 6

Leave a comment

php js HTML CSS Code