Get the Current Admin Page Title in a Plugin

Get the Current Admin Page Title in a Plugin

Here’s something that comes up for me pretty often:  depending on what I’m trying to do, I sometimes need plugin functions to run (or not run) simply based on which admin page the user is visiting.   Here’s the WordPress function that will give you the title of the currently loaded admin page:

get_admin_page_title()

So, if you only [...]

Using a Custom User Table Share Users Between Two WordPress Installs

Using a Custom User Table Share Users Between Two WordPress Installs

In one of many, many strokes of genius, the WordPress core developers threw in a bit of code to allow users (ok, other developers) to define a custom user table, and a custom usermeta table for a WordPress install. In it’s simplest form, you can point your Wordpress user table at that of another blog on [...]

Saving Wordpress Plugin Options – Admin Panels Done Right

Saving Wordpress Plugin Options – Admin Panels Done Right

This isn’t a terribly difficult task – it’s incredibly common, and it’s covered multiple places in the codex. So why am I writing about it? A few months ago, I was tasked with customizing a plugin – one that someone else wrote. I need to add some options to it, and their [...]