get_current_screen is a very helpful WordPress operate; sadly, it’s not at all times accessible relying on how early you might want it
This doesn’t imply there aren’t other ways to detect what display we’re on, although. It simply takes some inventive conditionals given what each WordPress and PHP present.
When You Can’t Get the Present Display screen
There are a couple of caveats to this technique (as-in in might not work for each case), but it surely’s…
Leave a Reply