Hi @brandanhadlock-
Check out this other thread that has the answer you’re looking for: https://ww.wp.xz.cn/support/topic/disable-doc-creation-for-members/
-David
Thread Starter
block
(@brandanhadlock)
Hi, Dave. Thanks for that link. The referenced code is for giving create capabilities to only admins. Can it be modified to work for a non-admin who has a certain membership level? I know enough to add code to a file and follow along a bit, but I don’t know all my wordpress coding lingo.
Sure. You just need to replace bp_current_user_can( 'bp_moderate' ) with some other capability. Or, if you’re not using WP user roles, some other way of knowing which users should be able to do that action.
There are a million ways to classify users, so you’ll just have to adapt it to your setup.
Best,
-David