Tips on Customizing Shortcoder — Create Shortcodes for Anything

How to Hide Shortcoder Admin Menus

function plt_hide_shortcoder_menus() {
	//Hide "Shortcoder".
	remove_menu_page('edit.php?post_type=shortcoder');
	//Hide "Shortcoder → All Shortcodes".
	remove_submenu_page('edit.php?post_type=shortcoder', 'edit.php?post_type=shortcoder');
	//Hide "Shortcoder → Create shortcode".
	remove_submenu_page('edit.php?post_type=shortcoder', 'post-new.php?post_type=shortcoder');
	//Hide "Shortcoder → Tags".
	remove_submenu_page('edit.php?post_type=shortcoder', 'edit-tags.php?taxonomy=sc_tag&post_type=shortcoder');
	//Hide "Shortcoder → Settings".
	remove_submenu_page('edit.php?post_type=shortcoder', 'settings');
	//Hide "Shortcoder → Upgrade to PRO".
	remove_submenu_page('edit.php?post_type=shortcoder', 'https://www.aakashweb.com/wordpress-plugins/shortcoder/?utm_source=admin&utm_medium=menu&utm_campaign=sc-pro#pro');
}

add_action('admin_menu', 'plt_hide_shortcoder_menus', 16);

Where do I put this code?

How to Hide Shortcoder Meta Boxes

function plt_hide_shortcoder_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Shortcode settings" meta box.
	remove_meta_box('sc_mb_settings', $screen->id, 'normal');
	//Hide the "Support" meta box.
	remove_meta_box('sc_mb_more_plugins', $screen->id, 'side');
	//Hide the "WordPress News" meta box.
	remove_meta_box('sc_mb_links', $screen->id, 'side');
}

add_action('add_meta_boxes', 'plt_hide_shortcoder_metaboxes', 20);