Tips on Customizing Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Subscribers and Landing Pages

How to Hide Kit (formerly ConvertKit) Admin Menus

function plt_hide_convertkit_menus() {
	//Hide the "Settings → Kit" menu.
	remove_submenu_page('options-general.php', '_wp_convertkit_settings');
}

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

Where do I put this code?

How to Hide Kit (formerly ConvertKit) Meta Boxes

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

	//Hide the "Kit" meta box.
	remove_meta_box('wp-convertkit-meta-box', $screen->id, 'normal');
}

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