From 9f4c333cab5cab3bc99ca1032f12446a55d0ee40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Fri, 10 Jan 2025 17:43:47 +0000 Subject: [PATCH] Add GF changelog link --- mu-plugins/gravityforms.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mu-plugins/gravityforms.php b/mu-plugins/gravityforms.php index c019291..526d9f6 100644 --- a/mu-plugins/gravityforms.php +++ b/mu-plugins/gravityforms.php @@ -5,6 +5,19 @@ * Plugin URI: https://github.com/szepeviktor/wordpress-website-lifecycle */ +// Add changelog link +add_filter( + 'plugin_row_meta', + static function ($plugin_meta, $plugin_file) { + if ($plugin_file === 'gravityforms/gravityforms.php') { + $plugin_meta[] = 'Changelog'; + } + return $plugin_meta; + }, + 20, + 2 +); + // Disable Gravity Forms plugin updates. define('GRAVITY_MANAGER_URL', null); define('GRAVITY_MANAGER_PROXY_URL', null);