WordPress Admin Page Hacks

1. How to Disable Dragging of Metaboxes in the Admin panel

To stop users from dragging metaboxes around the admin area and dashboard just add the following code in your to functions.php in your theme folder.

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

Comments

Popular posts from this blog

Smartphone use can reveal if you are depressed: Study

PayPal integration in PHP