Dear Sir / Mame,
we are using the membership plugin and I want to redirect my user to certain pages based on their subscriptions, but the values of current_user_has_subscription and current_user_on_subscription stay empty when I add an subscription level in the backend as an administrator. Only when I test these function with echo and exit,() they do have a value and stay having a value.
I am using a login_redirect hook and ask for above mentioned function ( tried also current_user_on_level etc ).
Any idea why this behavior is not consistent, do I call these functions too early?
membership Version: 188.8.131.52