fbpx
How to Disable Dragging of Meta Boxes Within WordPress Admin

How to Disable Dragging of Meta Boxes Within WordPress Admin

This snippet will disable all dragging of meta boxes within the WordPress admin.
* Please note that this includes dashboard widgets as well.

Instructions
Add this to your functions.php file.

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

WordPress Hosting

Leave a Reply

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