Last active
November 29, 2018 16:51
-
-
Save jrick1229/d82b8fe9af99e53d47c11a3c869f3776 to your computer and use it in GitHub Desktop.
WCS - Don't change user role when subscribing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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