I’ve made a private plugin for WordPress.
How can I make this plugin update and/or even auto update?

Thanks a lot already!

EDIT:

got the update part done, the only thing i need to add is the Auto-Update/Background update option..

I’ve added a MUST-HAVE plugin with the following code:

add_filter( ‘auto_update_plugin’, ‘__return_true’ );

but this isn’t working.. How is that possible?

1 Answer
1

Unless the plugin is in the WP Plugin repository, WP will not ‘see’ the latest version of the update.

Other than putting the plugin in the repository, you will have to manually update your plugin via FTP. Assuming that you are the author of the plugin, you should know when the plugin has a new update, so FTP it to the site.

Even if your plugin is in the WP Plugin repository, you would have to manually update it via the Admin Update panel.

Seems to me that you (the plugin author) should just FTP it to the site when you write/release the updated code.

Leave a Reply

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