This is how simple plugins should function
-
I personally wouldn’t install this, because I’m not the target user (it was installed by a previous designer on a client’s site) and in fact, I just replaced it with a hook function, but credit where credit is due: this does what it says on the tin, and that’s all.
Very very exceedingly rare behaviour for seemingly simple plugins, which usually abstract away simple functions that a less technical user doesn’t want to learn (fair enough) by inserting all kinds of horrifying code in all kinds of horrifying places, and making their presence known in the admin area as much as possible.
Not the case here. I inserted a script with the appropriate hook, and the same script was inserted with this plugin, and they appeared directly beside eachother in the source code, nothing more, nothing less. So while I prefer to do things by hand, I wish more plugins were like this one. WordPress would be a far more pleasant ecosystem.
- The topic ‘This is how simple plugins should function’ is closed to new replies.