Tips on Customizing PublishPress Future: Automatically Unpublish WordPress Posts

How to Hide the "Future" Admin Menu

function plt_hide_post_expirator_menus() {
	//Hide the "Future" menu.
	remove_menu_page('publishpress-future');
}

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

Where do I put this code?

How to Hide the "PublishPress Future" Meta Box

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

	//Hide the "PublishPress Future" meta box.
	remove_meta_box('expirationdatediv', $screen->id, 'side');
}

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