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 [...]