Skip to content

Instantly share code, notes, and snippets.

@afragen
Last active July 6, 2021 16:57
Show Gist options
  • Save afragen/290703613c50dab70dd06992c23cdfe0 to your computer and use it in GitHub Desktop.
Save afragen/290703613c50dab70dd06992c23cdfe0 to your computer and use it in GitHub Desktop.
Simple plugin to override earlier filter set to hide Git Updater Settings
<?php
/**
* Plugin Name: Show Git Updater Settings
* Description: Override hiding of Git Updater Settings. Use only for debugging/testing. Someone set this for a good reason.
* Plugin URI: https://gist.github.com/afragen/290703613c50dab70dd06992c23cdfe0
* Author: Andy Fragen
* Author URI: https://github.com/afragen
* Version: 0.1
* Requires PHP: 5.6
* Requires at least: 5.2
* Gist Plugin URI: https://gist.github.com/afragen/290703613c50dab70dd06992c23cdfe0
*/
add_filter( 'gu_hide_settings', '__return_false', 9999 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment