Tips on Customizing Simple Posts Ticker – Easy, Lightweight & Flexible

How to Hide Simple Posts Ticker Admin Menus

function plt_hide_simple_posts_ticker_menus() {
	//Hide "Settings → Simple Posts Ticker".
	remove_submenu_page('options-general.php', 'simple-posts-ticker');

	//Hide "Tickers".
	remove_menu_page('edit.php?post_type=spt_ticker');
	//Hide "Tickers → All Tickers".
	remove_submenu_page('edit.php?post_type=spt_ticker', 'edit.php?post_type=spt_ticker');
	//Hide "Tickers → Add New Ticker".
	remove_submenu_page('edit.php?post_type=spt_ticker', 'post-new.php?post_type=spt_ticker');
}

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

Where do I put this code?

How to Hide the "Custom URL" Meta Box

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

	//Hide the "Custom URL" meta box.
	remove_meta_box('spt_custom_code_meta_box', $screen->id, 'normal');
}

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