Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove the expiry hook from LearnDash WooCommerce Add-on
// Remove this line from the constructor
add_action('subscription_expired', array($this, 'remove_course_access'), 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment