Wordpress - display the admin page hook name

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. add_action( 'admin_head', 'print_admin_hook_to_source' );
  2. function print_admin_hook_to_source() {
  3. global $hook_suffix;
  4. print_r( $hook_suffix );
  5. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.