• Are there conditionals that check if a user is on specific wp-admin page? Something to the effect of is_admin_theme_settings() to check if the user is on the Theme Settings page, etc. I know I could do stuff like this but I wanted to see if there was already built-in functions for it or an easier way:

    is_admin() && 'page=theme-settings' === $_SERVER['QUERY_STRING']
  • The topic ‘check for specific admin pages’ is closed to new replies.