Tips on Customizing Punnel – Landing Page Builder

How to Hide the "Punnel" Admin Menu

function plt_hide_punnel_landing_page_builder_menus() {
	//Hide the "Punnel" menu.
	remove_menu_page('punnel-config');
}

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

Where do I put this code?

How to Hide the "Post Attributes" Meta Box

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

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

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