Forums
-
- Forum
- Posts
-
- Installation
- 27,619
- Troubleshooting
- 60,560
- Themes
- 10,191
- Plugins
- 14,973
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
untested, in theory:
function bb_tweaks_no_profile_edit($retvalue, $capability, $args) {
if ($capability=="edit_user") {return bb_current_user_can( 'administrate');}
return $retvalue;
}
add_filter('bb_current_user_can', 'bb_tweaks_no_profile_edit',10,3);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS