Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,184
-
Oh I think I’ve got it 🙂
add_filter( 'bp_current_user_can', 'jmw_permit_admin_to_edit_field_visibility', 10, 4 );
function jmw_permit_admin_to_edit_field_visibility( $retval, $capability, $blog_id, $args ) {
if( 'bp_xprofile_change_field_visibility' == $capability && is_super_admin() ) {
$retval = true;
}
return $retval;
}