function plt_hide_bitbucket_issue_manager_dashboard_widgets() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Remove the "Last solved issues" widget.
remove_meta_box('bitbucket_resolved_issues', 'dashboard', 'normal');
//Remove the "Last pending issues" widget.
remove_meta_box('bitbucket_pending_issues', 'dashboard', 'normal');
}
add_action('wp_dashboard_setup', 'plt_hide_bitbucket_issue_manager_dashboard_widgets', 20);