Tips on Customizing Nimble Page Builder

How to Hide Nimble Page Builder Admin Menus

function plt_hide_nimble_builder_menus() {
	//Hide the "Plugins → System info" menu.
	remove_submenu_page('plugins.php', 'nimble-builder');
	//Hide the "Settings → Nimble Builder" menu.
	remove_submenu_page('options-general.php', 'nb-options');

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

Where do I put this code?

How to Hide the "Nimble Builder Overview" Dashboard Widget

function plt_hide_nimble_builder_dashboard_widgets() {
	$screen = get_current_screen();
	if ( !$screen ) {

	//Remove the "Nimble Builder Overview" widget.
	remove_meta_box('presscustomizr-dashboard', 'dashboard', 'normal');

add_action('wp_dashboard_setup', 'plt_hide_nimble_builder_dashboard_widgets', 20);