Bulk edit users to assign access level
-
This site sells recurring subscriptions using WooCommerce Subscriptions. Users purchasing any type of subscription are assigned by Restrict User Access to a “Members Only” level to restrict some site content to subscribers. This is working well.
The problem is that I imported subscriptions from offline membership software, and these subscribers are not assigned to the the “Members Only” level. I assume this is because the plugin assigns users to this level only when there’s a WooCommerce purchase. Imported subscribers haven’t gone through WC checkout yet. (They will go through checkout if and when they renew their subscription, but they need to have Members Only access now.)
Is there any way to bulk edit users to add them to the “Members Only” level? I exported Users to CSV but I don’t find a WPRUA field there. I also looked in the database and couldn’t find where this data is stored.
As an alternative, could I add all WP subscribers to the “Members Only” level? (Most of them have purchased WC subscriptions, and I could edit the exceptions manually.) Specifically, would this work if I added a “Add membership when user gets role Subscriber” Trigger in Edit Access Level? When does a user “get” the WP role Subscriber? Only when they register? If so, this wouldn’t help.
Any other suggestions?The page I need help with: [log in to see the link]
- The topic ‘Bulk edit users to assign access level’ is closed to new replies.