Skip to content

Instantly share code, notes, and snippets.

@ThomasLeCoz
Created February 24, 2015 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasLeCoz/db27d788e36e42ccdc83 to your computer and use it in GitHub Desktop.
Save ThomasLeCoz/db27d788e36e42ccdc83 to your computer and use it in GitHub Desktop.
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