Remove post revisions metabox

Adding this PHP snippet to the functions.php of your wordpress theme will remove the post revisions metabox from the post editor screen.

 

 

function remove_revisions_metabox() {
remove_meta_box( 'revisionsdiv','post','normal' );
}
add_action('admin_menu','remove_revisions_metabox');

Be Sociable, Share!

Leave a comment