Basically hides a user account unless you're the user account. Used on a project where I had to allow other Admin users, but I didn't […]
Basically hides a user account unless you're the user account. Used on a project where I had to allow other Admin users, but I didn't […]
Sometimes you just don't want to see a bunch of user roles. This will help.
Sometimes you just need to change some styles in the Dashboard. I recently needed to remove something from a plugin that was redundant with the […]
Sometimes you just need to tell people something before they log in. Like, if your name is Pat Griffin, you're not allowed. (Pat Griffin is […]
I had a project recently where I just didn't want the same old "Subscriber", "Author", "Editor" roles. So, I used this. It basically just changes […]
Sometimes you just want to change the logo on the WordPress login screen. There are plugins for this, but they usually do a number of […]
This snippet automatically sets the featured image by fetching the first image of the WordPress post. *Note – if you choose a featured image, that […]
This will add an admin account to the WordPress database. To do so, you have to be able to run SQL against the database server, […]