Tips on Customizing WrAIter Light – AI Assisted Autocontent Elementor and Gutenberg Pilot support Light Version

How to Hide the "Wraiter Light OpenAI API Settings." Admin Menu

function plt_hide_wraiter_light_ai_assisted_autocontent_elementor_support_light_version_menus() {
	//Hide the "Wraiter Light OpenAI API Settings." menu.
	remove_menu_page('wraiter-light');
}

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

Where do I put this code?

How to Hide the "Announcement by Balcomsoft" Dashboard Widget

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

	//Remove the "Announcement by Balcomsoft" widget.
	remove_meta_box('wraiter_light_ad_banner_widget', 'dashboard', 'normal');
}

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