Disable dragging of metaboxes in admin panel


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function disable_drag_metabox() {
  2. wp_deregister_script('postbox');
  3. }
  4. add_action( 'admin_init', 'disable_drag_metabox' );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.