Tips on Customizing Ad Blocker Notify Lite

How to Hide Ad Blocker Notify Lite Admin Menus

function plt_hide_adblock_notify_by_bweb_menus() {
	//Hide "Ad Blocker Notify".
	remove_menu_page('adblock-notify');
	//Hide "Ad Blocker Notify → Ad Blocker Notify".
	remove_submenu_page('adblock-notify', 'adblock-notify');
	//Hide "Ad Blocker Notify → Admiral Settings".
	remove_submenu_page('adblock-notify', 'adblock-notify-admiral');
	//Hide "Ad Blocker Notify → Contact Us".
	remove_submenu_page('adblock-notify', 'adblock-notify-contact');
	//Hide "Ad Blocker Notify → Support Forum".
	remove_submenu_page('adblock-notify', 'adblock-notify-wp-support-forum');
}

add_action('admin_menu', 'plt_hide_adblock_notify_by_bweb_menus', 1000000000);

Where do I put this code?

How to Hide the "Ad Blocker Notify Stats" Dashboard Widget

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

	//Remove the "Ad Blocker Notify Stats" widget.
	remove_meta_box('an_dashboard_widgets', 'dashboard', 'normal');
}

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