Posted by & filed under WordPress.

Adding this snippet to the functions.php of your WordPress theme will disable all dragging of metaboxes within the admin. Please note that this includes dashboard widgets as well.

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

Leave a Reply

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