function plt_hide_basic_contact_form_menus() { //Hide the "Basic Contact Form" menu. remove_menu_page('basic-contact-form/includes/admin.php'); } add_action('admin_menu', 'plt_hide_basic_contact_form_menus', 11);
Where do I put this code?