Tips on Customizing Limit Login Attempts Reloaded

How to Hide Limit Login Attempts Reloaded Admin Menus

function plt_hide_limit_login_attempts_reloaded_menus() {
	//Hide the "Settings → Limit Login Attempts" menu.
	remove_submenu_page('options-general.php', 'limit-login-attempts');
	//Hide the "Limit Login Attempts" menu.
	remove_menu_page('limit-login-attempts');
}

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

Where do I put this code?

How to Hide the "Limit Login Attempts Reloaded" Dashboard Widget

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

	//Remove the "Limit Login Attempts Reloaded" widget.
	remove_meta_box('llar_stats_widget', 'dashboard', 'normal');
}

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