Skip to content

Instantly share code, notes, and snippets.

@jrick1229
Last active November 29, 2018 16:51
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 jrick1229/d82b8fe9af99e53d47c11a3c869f3776 to your computer and use it in GitHub Desktop.
Save jrick1229/d82b8fe9af99e53d47c11a3c869f3776 to your computer and use it in GitHub Desktop.
WCS - Don't change user role when subscribing
<?php
add_filter( 'woocommerce_subscriptions_update_users_role', '__return_false', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment