-
Home
-
GeeK! – Movie & Game Database
- Tips
function plt_hide_geekpress_menus() {
//Hide "GeeK!".
remove_menu_page('geek');
//Hide "GeeK! → GeeK!".
remove_submenu_page('geek', 'geek');
//Hide "GeeK! → Movies".
remove_submenu_page('geek', 'geek#/movies');
//Hide "GeeK! → Games".
remove_submenu_page('geek', 'geek#/games');
//Hide "GeeK! → TV Shows".
remove_submenu_page('geek', 'geek#/tvshows');
//Hide "GeeK! → Names".
remove_submenu_page('geek', 'geek#/names');
//Hide "GeeK! → Characters".
remove_submenu_page('geek', 'geek#/characters');
//Hide "GeeK! → Media".
remove_submenu_page('geek', 'geek#/media');
//Hide "GeeK! → Companies".
remove_submenu_page('geek', 'geek#/companies');
//Hide "GeeK! → Engines".
remove_submenu_page('geek', 'geek#/engines');
//Hide "GeeK! → Platforms".
remove_submenu_page('geek', 'geek#/platforms');
//Hide "GeeK! → Articles".
remove_submenu_page('geek', 'geek#/articles');
//Hide "GeeK! → Token Services".
remove_submenu_page('geek', 'geek#/token');
}
add_action('admin_menu', 'plt_hide_geekpress_menus', 11);
Where do I put this code?