Tips on Customizing Revive Old Posts – Social Media Auto Post and Scheduling Plugin

How to Hide Revive Old Posts Admin Menus

function plt_hide_tweet_old_post_menus() {
	//Hide "Revive Old Posts".
	remove_menu_page('TweetOldPost');
	//Hide "Revive Old Posts → Dashboard".
	remove_submenu_page('TweetOldPost', 'TweetOldPost');
	//Hide "Revive Old Posts → Exclude Posts".
	remove_submenu_page('TweetOldPost', 'rop_content_filters');
	//Hide "Revive Old Posts → Plugin Roadmap".
	remove_submenu_page('TweetOldPost', 'https://trello.com/b/svAZqXO1/roadmap-revive-old-posts');
}

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

Where do I put this code?

How to Hide the "Revive Old Posts" Meta Box

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

	//Hide the "Revive Old Posts" meta box.
	remove_meta_box('rop_publish_now_metabox', $screen->id, 'side');
}

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

How to Hide the "WordPress Guides/Tutorials" Dashboard Widget

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

	//Remove the "WordPress Guides/Tutorials" widget.
	remove_meta_box('themeisle', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_tweet_old_post_dashboard_widgets', 20);