Title: Show screen ID
Last modified: August 31, 2016

---

# Show screen ID

 *  [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/show-screen-id/)
 * So that I can add a custom message, I want to be able to show the ID of an admin
   screen.
 * Mustering all my limited cut-and-paste abilities, I can do it with code adapted
   from something else. Although it works, I’d like to understand what I’m doing,
   and thus be able to modify it to what it should be.
 *     ```
       function show_screen_id( $contextual_help, $screen_id) {
   
       # Uncomment this to see actual screen
       echo 'Screen ID = '.$screen_id.'';
       }
       add_action('contextual_help', 'show_screen_id', 10, 2);
       ```
   

The topic ‘Show screen ID’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gulliver](https://wordpress.org/support/users/gulliver/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/show-screen-id/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
