Tips on Customizing Custom Post Types and Custom Fields creator – WCK

How to Hide WCK - Custom Fields and Custom Post Types Creator Admin Menus

function plt_hide_wck_custom_fields_and_custom_post_types_creator_menus() {
	//Hide "WCK".
	remove_menu_page('wck-page');
	//Hide "WCK → Start and Settings".
	remove_submenu_page('wck-page', 'sas-page');
	//Hide "WCK → Post Type Creator".
	remove_submenu_page('wck-page', 'cptc-page');
	//Hide "WCK → Taxonomy Creator".
	remove_submenu_page('wck-page', 'ctc-page');
	//Hide "WCK → Custom Fields Creator".
	remove_submenu_page('wck-page', 'edit.php?post_type=wck-meta-box');
	//Hide "WCK → Front End Posting".
	remove_submenu_page('wck-page', 'free-to-pro-fep');
	//Hide "WCK → Swift Templates".
	remove_submenu_page('wck-page', 'free-to-pro-stp');
}

add_action('admin_menu', 'plt_hide_wck_custom_fields_and_custom_post_types_creator_menus', 18);

Where do I put this code?

How to Hide WCK - Custom Fields and Custom Post Types Creator Meta Boxes

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

	//Hide the "Wordpress Creation Kit" meta box.
	remove_meta_box('wck-cptc-side', $screen->id, 'side');
	//Hide the "TranslatePress" meta box.
	remove_meta_box('wck-cptc-side-trp', $screen->id, 'side');
	//Hide the "Custom Post Type Creation" meta box.
	remove_meta_box('option_page', $screen->id, 'normal');
	//Hide the "Wordpress Creation Kit" meta box.
	remove_meta_box('wck-ctc-side', $screen->id, 'side');
	//Hide the "TranslatePress" meta box.
	remove_meta_box('wck-ctc-side-trp', $screen->id, 'side');
	//Hide the "Custom Taxonomy Creation" meta box.
	remove_meta_box('ctc_creation_box', $screen->id, 'normal');
	//Hide the "Wordpress Creation Kit" meta box.
	remove_meta_box('wck-cfc-side', $screen->id, 'side');
	//Hide the "TranslatePress" meta box.
	remove_meta_box('wck-cfc-side-trp', $screen->id, 'side');
	//Hide the "Meta Box Arguments" meta box.
	remove_meta_box('wck-cfc-args', $screen->id, 'normal');
	//Hide the "Meta Box Fields" meta box.
	remove_meta_box('wck-cfc-fields', $screen->id, 'normal');
	//Hide the "WordPress Creation Kit Tools: enable or disable the tools you want" meta box.
	remove_meta_box('wck_tools_activate', $screen->id, 'normal');
}

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