Disable Dragging Of WordPress Dashboard Metaboxes

Wordpress Dashboard 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() {
add_action( 'admin_init', 'disable_drag_metabox' );
Back to top ^

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Paulund

  • Access 100s of premium tutorials and downloadable content
  • Members content consists of premium WordPress plugins, CSS packages, jQuery packages, tutorial demo files and templates for 100s of web development tutorials
  • In-depth development tutorials
  • Priority tutorial requests
  • No ads

Join Paulund