We’ve just moved to our new home! If something doesn’t work as expected, please contact us, we appreciate your help.
Back to Prompts
General Purpose coding

WordPress Plugin Auto-Updater Prompt

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.

Prompt
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.
0 views 0 copies