WordPress отключите посты

// add  this hook into function.php  file it will disable the post menu from 
//Left Sidebar in wp-admin Dashboard

function remove_posts_menu() {
    remove_menu_page('edit.php');
}
add_action('admin_menu', 'remove_posts_menu');
Singh99