Skip to content

Commit

Permalink
Add GF changelog link
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jan 10, 2025
1 parent 8a86304 commit 9f4c333
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mu-plugins/gravityforms.php
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = '<a href="https://docs.gravityforms.com/gravityforms-change-log/" target="_blank">Changelog</a>';
}
return $plugin_meta;
},
20,
2
);

// Disable Gravity Forms plugin updates.
define('GRAVITY_MANAGER_URL', null);
define('GRAVITY_MANAGER_PROXY_URL', null);
Expand Down

0 comments on commit 9f4c333

Please sign in to comment.