Tips on Customizing Revive Old Posts – Auto Post to Social Media

How to Hide Revive Old Posts Admin Menus

function plt_hide_tweet_old_post_menus() {
	//Hide the "Revive Old Posts" menu.
	remove_menu_page('TweetOldPost');
	//Hide the "Revive Old Posts → Dashboard" menu.
	remove_submenu_page('TweetOldPost', 'TweetOldPost');
	//Hide the "Revive Old Posts → Exclude Posts" menu.
	remove_submenu_page('TweetOldPost', 'rop_content_filters');
}

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

Where do I put this code?

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);