WordPress Plugin Auto-Updater Prompt
by hasan6 •
1
A clear technical specification for adding automatic update functionality to a private WordPress plugin using the YahnisElsts/plugin-update-checker library. Includes details about authentication with a GitHub token, using a local copy of the library (no Composer), and triggering updates by manually bumping the plugin version.
coding
Version
imports
Prompt Template
I want to add automatic update functionality to my plugin using YahnisElsts/plugin-update-checker. My plugin is hosted in a private GitHub repository, and I’ll authenticate using a GitHub access token I’ve already generated. I plan to clone the plugin-update-checker library locally and include it directly in my project (without using Composer). I’ll use the simple version-based update method, where I manually bump the version number in the plugin’s main file to trigger update checks.