-
Home
-
TK Google Fonts GDPR Compliant
- Tips
function plt_hide_tk_google_fonts_menus() {
//Hide "Appearance → TK Google Fonts".
remove_submenu_page('themes.php', 'tk-google-fonts-options');
//Hide "Appearance → Contact Us".
remove_submenu_page('themes.php', 'tk-google-fonts-options-contact');
//Hide "Appearance → Upgrade".
remove_submenu_page('themes.php', 'tk-google-fonts-options-pricing');
//Hide "Appearance → Go Pro".
remove_submenu_page('themes.php', 'tk-google-fonts-optionss');
}
add_action('admin_menu', 'plt_hide_tk_google_fonts_menus', 1000000000);
Where do I put this code?