WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a wordpress plugin at the moment which I do not want in the Wordpress plugin repository. However I still want to be able to push updates to my costumers from my own API repository.

I've been reading quite a bit about this, and one thing that seems to be something about is the pre_set_site_transient_update_plugins filter, however I can't find much info about this. I've tried this tutorial (http://konstruktors.com/blog/wordpress/2538-automatic-updates-for-plugins-and-themes-hosted-outside-wordpress-extend/) which I couldn't get working. I can tell from the comments that others can actually get this working with what must be almost the current version of WP (latest response Apr 22).

I tried installing the plugin from the site and putting the API folder on a second domain, but the update notification I usually get when an update is available, didn't show anywhere at all.

I'm not sure if it is actually possible to have custom plugins run the auto-update from other repositories so I would like to hear if anyone in here has any experience at all with this stuff? The solution in the tutorial seemed to be an easy solution - I wonder if it's somehow possible to do it in a more advanced way?

Any help getting this auto-update from my own repository working would be much appreciated!

(PS: I'm running WP version 3.1.3)

share|improve this question
up vote 6 down vote accepted

For the benefit of others who find this page, I suggest those wishing to provide their own updates outside the official WP repository check out this project on GitHub, that demonstrates the functionality:


share|improve this answer

Yes, this is possible. There's an entire chapter in Professional WordPress Plugin Development dedicated to this. If you haven't already, pick up a copy. It will definitely help.

share|improve this answer
I actually found a PDF version of this online, but that didn't seem to work for me either. – Simon May 29 '11 at 21:08
It does work if you do it right, I have done it, look at the HTTP API, codex.wordpress.org/HTTP_API – Wyck May 30 '11 at 3:58
I just started over again. What I've got so far is hooking into the plugin update check using add_filter("pre_set_site_transient_update_plugins","dne_altapi_check"); After that I have the function dne_altapi_check which contains print_r("hi"); - however when I press the "Check again" button under updates, it doesn't print anything at all.. Am I doing something wrong when hooking into the update checker? – Simon May 30 '11 at 8:06
I remember someone wrote class for plugin update staff, but can find link for that post :/ – Mamaduka Oct 3 '11 at 21:48

There is this commercial Plugin and Theme Update API manager for WooCommerce that specifically works if the plugin or theme is not hosted on wordpress.org. It is designed to provide updates for self hosted plugins and themes. The plugin is for those who don’t want to write it yourself, and need a lot of features, plus working examples for plugins and themes that are being sold.


share|improve this answer

There is also a neat service at http://wp-updates.com/ - you get one theme or plugin for free. FYI - this is not my site but I've tried it a while ago and it seemed pretty good.

share|improve this answer
Seems a nice service, but I didn't notice (almost on free plan) HTTPS in web control panel nor in communication: furthermore I didn't found any kind of ownership check when making the update check (it seems to me a very plain POST request), I feel that stuff could be stealed, knowing the plugin name and making some guesses. I would have loved to use it, if it seemed a bit more professional on security side. – reallynice Apr 8 '15 at 15:45

protected by toscho Jul 29 '12 at 1:31

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.