Remove add news page and posts from menu

I want remove add news page and posts from left menu
I try to use remove_submenu_page(‘edit.php’, ‘post-new.php’); but it only remove add news from posts, I need to remove add news from pages too.

Read more here:: Remove add news page and posts from menu

Leave a Reply

Your email address will not be published. Required fields are marked *