BuddyPress: How to hide the WordPress top admin bar for Logged Out users
Go to: WordPress Admin | Settings BuddyPress | Options Deselect – Toolbar: Show the Toolbar for logged out users Then: Save Settings
BuddyPress: How to hide profile Export Data link
add_filter( ‘bp_settings_show_user_data_page’, ‘venutius_remove_data_page’ ); function venutius_remove_data_page($filter) { return false; } Source: https://buddypress.org/support/topic/how-to-hide-export-data-in-user-profile-settings/
BuddyPress: How to remove the setting Profile Visibility
function profile_visibility_subnav() { global $bp; bp_core_remove_subnav_item( ‘settings’, ‘profile’ ); } add_action( ‘bp_setup_nav’, ‘profile_visibility_subnav’,999 ); Source: https://buddypress.org/support/topic/remove-profile-visibility-subnav-2/
Woffice: How to hide BuddyPress Groups Menu Link
Adding the following line to the WOffice child theme’s functions.php worked for me add_filter(‘woffice_groups_personal_li’, ‘__return_false’);
How to remove the BuddyPress profile ‘last active’ status
Adding the code below to my bp-custom.php file removed the last active status on one of my sites add_filter( ‘bp_nouveau_get_member_meta’, ‘ps_remove_last_active’,10,3 ); function ps_remove_last_active ( $meta, $member, $is_loop ){ $meta[‘last_activity’] = ”; return $meta; } https://buddypress.org/support/topic/remove-last-active-status/
How to disable BuddyPress Public Message Button
On one of my sites, I added the code below to my bp-custom.php file and that worked for me. add_filter(‘bp_get_send_public_message_button’, ‘__return_false’); I obtained this solution from the url below: https://buddypress.org/support/topic/disable-public-message/
How to change the default BuddyPress profile landing tab
Adding the following line to my bp-custom.php fle worked for me. This changed the default landing tab to Profile. define(‘BP_DEFAULT_COMPONENT’, ‘profile’ ); I obtained this solution from the following url: https://codex.buddypress.org/getting-started/guides/change-members-profile-landing-tab/
Why create a BuddyPress bp-custom.php file?
This url describes what a BuddyPress bp-custom.php file does: https://codex.buddypress.org/themes/bp-custom-php/