function plt_hide_njl_stamp_duty_menus() { //Hide the "Stamp Duty" menu. remove_menu_page('njl-sd-options'); } add_action('admin_menu', 'plt_hide_njl_stamp_duty_menus', 11);
Where do I put this code?