diff --git a/wp-content/themes/klendathu/functions.php b/wp-content/themes/klendathu/functions.php index ceb2312b..7a9a65c3 100644 --- a/wp-content/themes/klendathu/functions.php +++ b/wp-content/themes/klendathu/functions.php @@ -782,3 +782,13 @@ function register_youtube_button($buttons) { return $buttons }*/ + +function remove_menus(){ + // remove_menu_page( 'edit-comments.php' ); //Comments + // remove_menu_page( 'themes.php' ); //Appearance + remove_menu_page( 'plugins.php' ); //Plugins + remove_menu_page( 'users.php' ); //Users + remove_menu_page( 'tools.php' ); //Tools + remove_menu_page( 'options-general.php' ); //Settings +} +add_action( 'admin_menu', 'remove_menus' );