 Welcome back to the channel Today we are going to be living at a Granger API using WordPress We are going to use it as a backboard and I'm going to talk about something that is probably a new concept to you and that is the must use plugins Now these must use plugins are a special kind of plugins that you write and you realize that they don't have a path for installing or deactivating or deleting just like what would have ordinarily with the other plugins So must use plugins are actually a concept that came up with WordPress earlier on and this was to help out with trying to put in place plugins that should be installed on default All should be used by all users by default and they shouldn't be taken away Most especially in cases of when you have a multi site kind of system built in place for your work So I'm going to use them because every time a user logs in or if they are an editor or whatever it is or an administrator I don't want them to delete what is supposed to be something for the API to keep on growing So it's static information that I want there and I don't want anyone to delete it So if we go in our plugins section right now we don't have any plugins that are installed at all So what I'm going to do in my WP content folder I'm going to create a new folder which I'll call MU-Plugins This does not come with us by default So the reason I'm putting this is so that our classic press will read the plugins that we write inside here So what I'm going to do is I'm going to just drag this and drop it into my editor Now that we've dropped this in our editor I'm going to create our first plugin and I'm going to call it customPostType.php The downside of using a must use plugins is that everything must be inside this folder You cannot go levels deeper Otherwise you'd have to write extra code for it So this is unlike the ordinary plugins whereby you have things that are in folders and then you have another file in the folder and it can all be read So that's the downside to the must use plugins So the first things first I'm going to open our PHP here I'll just comment how to start So we'll have it with the plugin name of our customPostType Of course I don't expect any updates coming in because must use plugins don't receive updates So that would be okay even if there was a name collision However I'm just going to prefix this so that we remove all kinds of issues coming up So the plugin URL will be I'll just put it on my blog for now And then I will put in the plugin author Who will be myself And then I'm going to also just add I'll just duplicate this and put it down here And change this to that All of our URL plugin name The other thing that we need is we shall add a version Which we shall call version 1.0.0 And we will have a text domain And we just call it a API So once we save this and then go back into our browser and reload We're going to find that now we have a customPostType Is called this and then everything is ready Apart from the description that we actually missed So I'll just give it a description And I'll say this must use plugin Creates PostTypes Creates our API customPostTypes So once we save that Everything will kinda look familiar right now Apart from the few things here in activating and deactivating So we are now ready to go We'll just make a number of other plugins that are available And then we'll start populating them with more information So I'll just copy this and then paste it And then I'll just rename this To custom taxonomy And then since we have customPostTypes I'm going to also do custom taxonomy Which I'll explain later what it actually means Alright, so if we go back and reload We now have two plugins that I must use And they're going to create content for us And we shall be ready to go So keep on watching the channel Thank you for watching this video If you like what we're doing here Please give it a thumbs up Or like the video Or look at all the other content that we do have If something actually excites you So we shall be continuing at looking at taxonomies And then also looking at our post types to the next video Thank you for watching Bye-bye