Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 128,796
- Creating & Extending
- 25,728
- Requests & Feedback
- 9,439
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,387
- Miscellaneous
- 9,125
-
@Anton, I beleive this will help you. Check the code link in the topic.
Replace current_user_can with only something a admin and mod can do, such as edit_post.. Check the user roles abilities.
Edit: here’s a version for moderators: http://pastebin.com/YACKxvwn
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS