The code below will remove the Help Tab and will hide the extra two Dashboard widget areas:
add_action( 'admin_head', 'wpse209151_dashboard_cleanup' );
function wpse209151_dashboard_cleanup() {
$screen = get_current_screen();
// Bail if we're not looking at the dashboard
if ( 'dashboard' !== $screen->base ) {
return;
}
// Deal with the Help Tabs
$screen->remove_help_tabs();
// Hide the desired Dashboard widget areas
// 4 available widget areas: #postbox-container-1,2,3,4
echo '<style>
#postbox-container-3,
#postbox-container-4 {
display: none;
}
</style>' . "\n\n";
}
Related Posts:
- changing wp-admin/widgets.php
- WordPress 4.8: Using multiple WYSIWYG-Editors with media inside of Widgets how to?
- How to Remove All Widgets from Dashboard?
- How can I delete all inactive widgets?
- Completely disabling widgets
- Elegantly using JavaScript on widget admin forms
- add_page_menu to make shortcut to widgets
- Remove/Add widgets from/to the Available Widgets pool
- jQuery UI inside widget on admin page
- Add field to dashboard to update embedded URL on homepage?
- Dashboard Widgets – Add Admin Page With Same Functionality
- Drafts widget for admin page
- Grabbing how Many Posts by Month for a Dashboard Widget
- Validating widget’s configuration data on Admin page
- Custom widget is not appearing in the admin area
- Widget page stopped loading
- Issue with checked() echoing on to page
- Handling dozens of sidebars
- Widget stuck at particular point when dragging to bottom
- Widget Areas Still Appearing in WP ADMIN When They Shouldn’t
- jQuery “on” handler does not fire on newly inserted widgets [closed]
- Programmatically add widgets to sidebars
- Text Widget creates a
- Get Widget Instance inside Widget
- Add the sidebar/widget editor to the post edit screen?
- WP_Widget deprecated error in WordPress V4.3
- What is the quickest way to make a widget?
- Changes in widget customizer not triggering ‘save and publish’
- Remove before_widget / after_widget content from Wp_Widget_Text
- What is the use case for the “Class” parameter in register_sidebar?
- Big side banners
- How to execute SQL SELECT query and see the results?
- WordPress “include TEMPLATEPATH” or?
- Need help adding additional controls to a custom widget Part 2
- How to add the widgets manually to the sidebar?
- How to check if widget has automatic title
- Display sidebar that created in functions.php
- Image picker widget
- When you register a sidebar in WordPress, is it possible to choose in what order it appears in the admin
- How to enable “shift-click to edit this widget” functionality on a custom widget?
- WordPress widget args – classname?
- Moving comments section to left of content (Twenty Thirteen)
- Custom Tag Cloud widget missing tags
- How the widget can be run by shortcode
- add widgets to dashboard for easy access for clients?
- How to add new sidebar widget area to child theme?
- Uses Cases for the Calendar Widget
- Wrap all default widget into div tag
- Widgets missing after update
- Help with custom widget options! (saving checkbox option)
- How to filter products using filter products by attribute widget and OR logic between different product attribute types?
- Can you target a widget_class in a register_sidebar?
- Default widgets assignment – isn’t working
- How to add custom widget above admin_footer
- How to create a ‘single’ category widget for woocommerce plugin [closed]
- wp_get_attachment_image() not displaying post images even though wp_get_attachment_url() echo correct urls
- what is the best way to add things to a side bar
- Disable a plugin’s widget
- My Custom Widget does not save in sidebar
- How to add urls in html widget in a gravity form? [closed]
- How to add custom tinymce plugin to new text widget
- What widgets are used on a page? [closed]
- Create Dashboard Widget with form to keep team’s record
- flush_widget_cache is deprecated. Which method should i use instead?
- Escape HTML on WP input
- Add links widget to self-hosted blog?
- how can i display all youtube videos from a users youtube account
- Link a widget or find the php that creates the widgets
- How to add Ajax to the default widget calendar to support next/previous months loading?
- prevent custom widget file names from showing in Appearance > Editor
- Add a widget to a static front page
- Last Update time in widget
- Adding dashboard widgets to show – custom post type stats, information from other plugins
- Problem with WP_Query loop and search term
- How to decorate WP_Widget_Text?
- After adding widget the style is messing up
- Widget title showing below widget
- Get a list of all Widgets registered in WordPress admin widgets-area
- how to get value of a select box in custom widget wordpress
- Using the_widget Multiple Times
- Does current page contain widget or sidebar
- Nonce and widget
- Paginate recent posts widget
- How to give a File Upload option in wordpress Widget backend?
- Widget front-end fails to echo as expected from checkbox
- Adding Widgets to Reactor Theme (based on Foundation 4)
- Can I use widgets & shortcode if I need to return an array?
- Help me tidy up my widget code
- Neaten content — different widget or CSS change?
- Custom widget breaking widget section in admin menu
- Unique widget id in sidebar
- Taxonomies not showing in WP Dashboard Right Now widget
- trying to Change to wp_register_sidebar_widget
- How to delete Jetpack Widgets from the Widgets page in admin panel [closed]
- How to customize dynamic_sidebar rendering? [closed]
- Widget does not work with WooCommerce enabled
- How to show WordPress Dashboard Widgets on Frontend?
- How can I add a toggle element into an image box element? [closed]
- Widget block editor: Unable to collect checkbox values inside widget update() method
- How to add the “page” post type to Recent Activity widget displayed in admin?