Forums
-
- Forum
- Posts
-
- Installation
- 28,257
- Troubleshooting
- 61,806
- Themes
- 10,309
- Plugins
- 15,225
- Requests & Feedback
- 14,830
- Showcase
- 3,252
-
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