-
Home
-
Visual CSS Style Editor
- Tips
function plt_hide_yellow_pencil_visual_theme_customizer_menus() {
//Hide "Appearance → YellowPencil Editor".
remove_submenu_page('themes.php', 'yellow-pencil');
//Hide "YellowPencil".
remove_menu_page('yellow-pencil-changes');
//Hide "YellowPencil → Customizations".
remove_submenu_page('yellow-pencil-changes', 'yellow-pencil-changes');
//Hide "YellowPencil → Settings".
remove_submenu_page('yellow-pencil-changes', 'yellow-pencil-settings');
//Hide "YellowPencil → Custom Animations".
remove_submenu_page('yellow-pencil-changes', 'yellow-pencil-animations');
//Hide "YellowPencil → Import/Export".
remove_submenu_page('yellow-pencil-changes', 'yellow-pencil-export');
//Hide "YellowPencil → Go Pro!".
remove_submenu_page('yellow-pencil-changes', 'yellow-pencil-license');
//Hide "YellowPencil → About".
remove_submenu_page('yellow-pencil-changes', 'wyp-welcome-screen');
}
add_action('admin_menu', 'plt_hide_yellow_pencil_visual_theme_customizer_menus', 11);
Where do I put this code?