By default, you can easily drag and change the placement of metaboxes in WordPress dashboard. You can also disable dragging of metaboxes and dashboard widgets in WordPress.
Instructions: Add the following code to the functions.php file of your WordPress theme.
function disable_drag_metabox() { wp_deregister_script('postbox'); } add_action( 'admin_init', 'disable_drag_metabox' );
You may also enjoy styling widgets based on their position in a widget area.
FYI – disabling the postbox script also disabled heartbeat and therefore post locking. (I found this out the hard way)
Hey Mike, thanks for sharing it.
Doesn’t appear to work on WP Version 5.9.2