Remove post excerpt metabox

WordPress Tutorial – Adding this PHP code to the functions.php of your wordpress theme will remove the post excerpt metabox from the wordpress admin.

 

 

function remove_default_excerpt_metabox() {
remove_meta_box( 'postexcerpt','post','normal' );
}
add_action('admin_menu','remove_excerpt_metabox');

Be Sociable, Share!

Leave a comment