Disable Dragging Of Wordpress Dashboard Metaboxes

When you log into your Wordpress dashboard you are presented with numerous Wordpress metaboxes. These allow you to display different bits of data about your blog which can be vital to the user who is currently logged in. The user is able to drag and delete the meta boxes around the dashboard to position them where they want. But what if you always want certain meta boxes at the top of the dashboard and never want these to be moved. You can disable the dragging of the metaboxes by adding the following snippet into your functions.php page.

function disable_drag_metabox() {
    wp_deregister_script('postbox');
}
add_action( 'admin_init', 'disable_drag_metabox' );

UpChecker

Reliable uptime monitoring and instant alerts for any website downtime.

  • Uptime Monitoring
  • Performance Monitoring
  • SSL Certificate Alerts
  • Domain Monitoring
  • DNS Checker
  • XML Sitemap Monitoring