https://github.com/robertdevore/install-github-updater
A drop-in class to install / activate the GitHub Updater plugin
https://github.com/robertdevore/install-github-updater
Last synced: 10 months ago
JSON representation
A drop-in class to install / activate the GitHub Updater plugin
- Host: GitHub
- URL: https://github.com/robertdevore/install-github-updater
- Owner: robertdevore
- Created: 2016-02-03T00:43:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T00:46:47.000Z (almost 10 years ago)
- Last Synced: 2025-02-12T20:15:42.904Z (12 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install GitHub Updater
A drop-in class to install / activate the GitHub Updater plugin
## How it works
This drop-in checks to see if the GitHub Updater plugin is installed. If not installed, it will display an `Install Now` link, which will automatically install and activate the plugin.

If GitHub Updater is installed but not activated, the user will be prompted to `Activate Now`. If the the admin notice is dismissed, it will not appear again for 7 days.
## Usage
1. Add `install-github-updater.php` into your theme or plugin directory
2. `include( '/path/to/install-github-updater.php' );`
3. To enable automatic updates for your plugin or theme, see the GitHub Updater docs