ClassicPress Plugin Development: Create a Plugin Update Endpoint Using Code Potent’s Update Manager

ClassicPress PluginsThis post is part of the ClassicPress Plugin Development series in which I am going to look at both best practice for developing plugins and how I approach some requirements as well as some of the functions I commonly use.

With Code Potent’s Update Manager added to a plugin, a plugin update endpoint can now be created on the update server.

On your update server click New » Plugin Endpoint.

New plugin

There are three fields which need to be set:

  • Plugin Name or Title which should be self-explanatory.
  • Endpoint Identifier which should be the folder name/file name of your main plugin file. For my From Twitter plugin this is azrcrv-from-twitter/azrcrv-from-twitter.php.
  • Plugin Details which uses the same format as a readme.txt file; in fact, you can just paste your readme.txt file.

The other fields on this page are optional and not required for server normal updates; the docs from Code Potent explain in detail how these can be used.

Below is an example of a completed plugin endpoint using my plugin as the example:

Loop Injection plugin endpoint

With the plugin endpoint created, any time you want to do a release all you need to do is replace the Endpoint Details and upload your new download to the location specified in the Download link field and hit the Update button. All sites with the plugin installed will be able to quickly and easily update the plugin from the admin dashboard.

Click to show/hide the ClassicPress Plugin Development Series Index

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *