Inspiration For Creative Minds
Home » Labs » WordPress Disable Dragging of Metaboxes on Admin Panel  

Filed under Labs

The bellow code will disable dragging features of metaboxes in wp admin panel. For disabling dragging of metaboxes just copy below snippet to the functions.php in your wordpress theme.

 
<?php
 
function disable_dragging_on_adminpanel() {
    wp_deregister_script('postbox');
}
add_action( 'admin_init', 'disable_dragging_on_adminpanel' );
 
?>
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook
Labs

Posts you may like: