rodrigobertin
10/11/2017 - 10:44 AM

Disable post menu

Disable post menu

<?php 
function remove_posts_menu() {
    remove_menu_page('edit.php');
}
add_action('admin_init', 'remove_posts_menu');