Tips on Customizing Greenshift – animation and page builder blocks

How to Hide GreenShift - Animation and Page Builder Blocks Admin Menus

function plt_hide_greenshift_animation_and_page_builder_blocks_menus() {
	//Hide "Reusable Templates".
	remove_menu_page('edit.php?post_type=wp_block');

	//Hide "GreenShift".
	remove_menu_page('greenshift_dashboard');
	//Hide "GreenShift → GreenShift".
	remove_submenu_page('greenshift_dashboard', 'greenshift_dashboard');
	//Hide "GreenShift → Settings".
	remove_submenu_page('greenshift_dashboard', 'greenshift');
	//Hide "GreenShift → Addons".
	remove_submenu_page('greenshift_dashboard', 'greenshift_dashboard-addons');
	//Hide "GreenShift → Upgrade".
	remove_submenu_page('greenshift_dashboard', 'greenshift_upgrade');
	//Hide "GreenShift → Contact Us".
	remove_submenu_page('greenshift_dashboard', 'greenshift_contact');
	//Hide "GreenShift → Import/Export".
	remove_submenu_page('greenshift_dashboard', 'greenshift_import');
	//Hide "GreenShift → Demo Import".
	remove_submenu_page('greenshift_dashboard', 'greenshift_demo');
	//Hide "GreenShift → Stylebook".
	remove_submenu_page('greenshift_dashboard', 'greenshift_stylebook');
	//Hide "GreenShift → Manage Licenses".
	remove_submenu_page('greenshift_dashboard', 'greenshift-license');
}

add_action('admin_menu', 'plt_hide_greenshift_animation_and_page_builder_blocks_menus', 1000);

Where do I put this code?

How to Hide the "Post Attributes" Meta Box

function plt_hide_greenshift_animation_and_page_builder_blocks_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_greenshift_animation_and_page_builder_blocks_metaboxes', 20);