FIX Hiding actualites in sidebar
This commit is contained in:
parent
04c6b2955e
commit
5ee97117fa
|
|
@ -15,7 +15,7 @@ add_action('admin_head', 'dynamiques_custom_admin');
|
|||
------------------------------------------------------------------*/
|
||||
function custom_menu_page_removing()
|
||||
{
|
||||
// remove_menu_page('edit.php'); // Hide Articles
|
||||
remove_menu_page('edit.php'); // Hide Articles
|
||||
remove_menu_page('edit-comments.php'); // Hide Commentaires
|
||||
}
|
||||
add_action('admin_menu', 'custom_menu_page_removing');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user