Skip to content

Instantly share code, notes, and snippets.

@DavidWells
Created December 24, 2012 01:29
Show Gist options
  • Save DavidWells/4367029 to your computer and use it in GitHub Desktop.
Save DavidWells/4367029 to your computer and use it in GitHub Desktop.
WordPress :: GET Current Screen Data for conditional admin
$screen = get_current_screen();
echo "<pre>";
print_r($screen);
echo "</pre>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment