Tips on Customizing WordPress HTTPS (SSL)

How to Hide the "HTTPS" Admin Menu

function plt_hide_wordpress_https_menus() {
	//Hide the "HTTPS" menu.
	remove_menu_page('wordpress-https');
}

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

Where do I put this code?

How to Hide the "HTTPS" Meta Box

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

	//Hide the "HTTPS" meta box.
	remove_meta_box('wordpress-https', $screen->id, 'side');
}

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