From fadafb1231c2bfca8a9774ff109aad430abb9b74 Mon Sep 17 00:00:00 2001
From: Kevin Cristiano <kcristiano@kcristiano.com>
Date: Wed, 16 Feb 2022 13:28:10 +0000
Subject: [PATCH] remove update nag

---
 tc-core-update-minor.php | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/tc-core-update-minor.php b/tc-core-update-minor.php
index fb1df84..c6b02e1 100644
--- a/tc-core-update-minor.php
+++ b/tc-core-update-minor.php
@@ -12,4 +12,12 @@
  * @package         Tc_Core_Update_Minor
  */
 
-add_filter( 'allow_major_auto_core_updates', '__return_false' );
\ No newline at end of file
+add_filter( 'allow_major_auto_core_updates', '__return_false' );
+
+add_action(
+    'admin_notices',
+    function() {
+        remove_action( 'admin_notices', 'update_nag', 3 );
+    },
+    2
+);
-- 
GitLab