Forums
-
- Forum
- Posts
-
- Installation
- 28,502
- Troubleshooting
- 62,683
- Themes
- 10,431
- Plugins
- 15,360
- Requests & Feedback
- 14,973
- Showcase
- 3,256
-
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);