Removing page title from My Profile BuddyPages

When creating a BuddyPages page that get set to display on "My Profile", there will be a page title at the top of the content area. However, this may not be desirable for what you are aiming for. If you wish to remove the display of the title completely, the following snippet will help.

You will want to add the following to your active theme's functions.php file or a custom plugin.

function custom_buddypages_title_removal() {
	remove_action( 'bp_template_title', 'buddypages_screen_title' );
}
add_action( 'wp_head', 'custom_buddypages_title_removal' );

This code will remove the callback that BuddyPages uses to add our custom title.