Tips on Customizing Funnel Builder by CartFlows – Create High Converting Sales Funnels For WordPress

How to Hide CartFlows Admin Menus

function plt_hide_cartflows_menus() {
	//Hide "CartFlows".
	remove_menu_page('cartflows');
	//Hide "CartFlows → Home".
	remove_submenu_page('cartflows', 'cartflows');
	//Hide "CartFlows → Flows".
	remove_submenu_page('cartflows', 'admin.php?page=cartflows&path=flows');
	//Hide "CartFlows → Settings".
	remove_submenu_page('cartflows', 'admin.php?page=cartflows&path=settings');
	//Hide "CartFlows → Templates".
	remove_submenu_page('cartflows', 'admin.php?page=cartflows&path=library');
}

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

Where do I put this code?

How to Hide CartFlows Meta Boxes

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

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

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