 Welcome back to the channel. So today I'm on one of my online servers and I have a plug-in that I have built for a client and I want to be able to send them updates where they just click on the simple update now button and everything will work well. Depending on the versions of course I'm using a Semba that's semantic version. So let's say if I do a minor update too I'm one of the things that I'm doing for them one of the content types and I'm adding a little feature. They should be able to just click update now and use that without me having to go in and login into their system and then doing the whole update. I was searching online and I found this update manager that's written by Codeportant. He's a brilliant guy. You need to check that out what he's doing and what I'm going to do is I'm going to just go to the releases that he has and I'm going to get the latest so I'll just download this and while that's downloading that will be very helpful. So what I'll do is I'm going to just go to the link here so that I can just follow step by step of how I can actually use this. So I'm as green as you are but let's see where this leads. Let's see if we can actually do it. We actually have to add this class inside our file so that's what I'm going to look at. I'm going to go into that plugin. Please never edit your site's live. It's not really encouraged. Okay so classes I already added it so I have to add it in my plugin in a file called classes and then the PHP file is what I need to edit and I'm just going to make a few changes here. I'll use my own server, my Diaganda which is going to be my other server. This is a plugin and then I'll pick update and successful we don't have any issues whatsoever. Of course I was warned before that I'm supposed to have classic press version here. My plugin is currently on version 1.0 so let me set that up on my site. Okay so I'm inside my what's going to be my server side which is my host. I'm going to add the new plugin for the update manager itself that we downloaded here. Let's install it and have our plugin it's active. We need to activate the plugin next and we see that it brings a small update manager in an admin section. We have a new update manager. It talks about the plugin's themes and transients. It talks about reactivating, managing endpoints. Let's just see what that is all about. Endpoints I don't have any new plugins whatsoever here. I'm going to have a new plugin so I'm going to call this the corpaggio-lons so that I can manage it. It's inside a folder corpaggio slash lons. That's the file name so what I'm going to do is add a version 1 requires version 0 so that people don't just jump. If I have breaking changes I can be able to restrict that. So I'm going to add a download link so let me go to my github account. I'll look for the corpaggio-lons. So my decopaggio-lons right now has no releases. It has only one release which is a 1.0 but I'm going to draft a new release. It happens is whenever you zip a file on a github it automatically adds the name of the particular branch that you own. So what I want is I just want to have lons, only just the lons. I just don't have the name master on it. I'm going to actually just zip this so archive it zip. So at the end of the day when I'm uploading my release I'm just going to drop this file in here so that it has that unique URL on it. In any other case I would still do a simple add the proper release link that comes on but I want to do everything uniquely so that in the future when I am uploading I need to keep my file names similar so you see if you look down here you're going to see the links are different. If I look at this it has 1.0.1 so it will effectively be downloading another plugin all together not the same so I need to use this link right here so what I'll do that is I'll copy the link location come back and then just paste this here in my zip then I'll say version 1.0.1 is better. That's not what I want to do but that will make sense. So what I want to do is I want to only test on particular domains I probably want to test this update before I send it out to any other domains anywhere so what I'm going to do is I'm going to set up a testing domain and then I'll leave it like that and then I'll just say leave me a message in case there are any issues so I'm going to publish this and once it's published so let's just look at this again they have told us we need classic press php 5.6 and earlier set up a plugin to work this install on your site add file in your own plugin create an endpoint test the endpoint in the browser test the update on an actual site publish the endpoint okay so what we are going to do is we're going to view the endpoint the endpoint is actually okay it's there let me just reload here yes and now we have an update so this actually works so if I click update now that should be able to download the new version and then you can push an alpha you can push a beta release candidate and all of that it's possible you can add your own custom images to make it look good and I can see a number of people have actually used this in different places so that's how we serve our plugins if you wanted to add themes you can do that as well and everything would work out well so give this a try let god port and know how you've whether you've been able to utilize this in the best way and enjoy thank you for watching the video give it a thumbs up if you like it subscribe to the channel if you've not yet and enjoy yourself keep yourself safe