public
Created

Current Screen Info

  • Download Gist
gistfile1.aw
PHP
1 2 3 4 5 6 7 8 9
<?php
 
add_action( 'admin_notices', 'be_current_screen_info' );
function be_current_screen_info() {
global $current_screen;
echo '<pre>';
print_r( $current_screen );
echo '</pre>';
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.