Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from GitHub Updater Demo™
CodeSync Showcase is not affiliated with GitHub Updater Demo. The name and any related trademarks are used solely for nominative descriptive purposes.
This is a demonstration plugin that illustrates how to implement a system for managing updates to custom plugins directly from GitHub. It is intended for developers who build and distribute their own plugins and need a reliable method to deliver updates outside the official plugin directory. The plugin provides a working example of integrating a specific updater class to handle version checks and installations from remote repositories.
Update URI Configuration: The core mechanism relies on correctly setting the plugin's Update URI header to point to its GitHub repository, which the system then monitors for new releases.
Access Token Support: For private repositories, the setup includes methods to securely provide and validate a GitHub personal access token, allowing the update process to access non-public code.
Custom Branch and Assets: Developers can specify a non-default production branch for updates and configure custom plugin icons and banners that appear within the admin area during the update process.
Integrated Settings Panel: An optional feature adds a settings field to the admin area for storing and managing the GitHub access token, displaying token details and expiration warnings to simplify maintenance.
Changelog Integration: The system can link to a Markdown changelog file from the repository, displaying update notes to users directly within the plugin details view before they install an update.
Version
Original
Updated