How to Hide Superb Social Media Share Buttons and Follow Buttons Admin Menus

function plt_hide_superb_social_share_and_follow_buttons_menus() {
	//Hide the "Superb Social Media Buttons" menu.
	remove_menu_page('spbsm');
	//Hide the "Superb Social Media Buttons → Share Buttons" menu.
	remove_submenu_page('spbsm', 'spbsm');
	//Hide the "Superb Social Media Buttons → Follow Buttons" menu.
	remove_submenu_page('spbsm', 'spbsm-follow');
}

add_action('admin_menu', 'plt_hide_superb_social_share_and_follow_buttons_menus', 11);

Where do I put this code?