Tips on Customizing ACTUS Xfields

How to Hide ACTUS Xfields Admin Menus

function plt_hide_actus_xfields_menus() {
	//Hide "Test site".
	remove_menu_page('actus-global-options');

	//Hide "ACTUS".
	remove_menu_page('actus-plugins');
	//Hide "ACTUS → ACTUS".
	remove_submenu_page('actus-plugins', 'actus-plugins');
	//Hide "ACTUS → ACTUS Xfields".
	remove_submenu_page('actus-plugins', 'actus-xfields');
}

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

Where do I put this code?

How to Hide the "ACTUS extra fields" Meta Box

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

	//Hide the "ACTUS extra fields" meta box.
	remove_meta_box('actus_fields', $screen->id, 'normal');
}

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

How to Hide the "Meta Box Title" Dashboard Widget

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

	//Remove the "Meta Box Title" widget.
	remove_meta_box('axf_meta', 'dashboard', 'advanced');
}

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