If you are looking to Remove the comment metabox from your WordPress admin, then keep your close attention in this tutorial as I am going to share how to remove comment metabox in WordPress.
How to remove comment metabox in wordpress
Use the below code inside your theme’s functions.php files.
/** * Remove comment metabox from edit post screen. */ function remove_comment_metabox() { remove_meta_box( 'commentsdiv' , 'post' , 'normal' ); } add_action( 'admin_menu' , 'remove_comment_metabox' );
The post How to remove comment metabox in WordPress appeared first on FreeWebMentor.
This post first appeared on Programming Blog Focused On Web Technologies, please read the originial post: here