You can determine that with wordpress’ get_current_screen()
function. It will not return just a page name though, it will give you an object containing a bunch of different data on what screen you’re on.
Related Posts:
- Organizing Code in your WordPress Theme's functions.php File?
- How to check if a user is in a specific role?
- Can’t change language (only “English (United States)”)
- Create WP tutorial for users with admin pointer using next button for navigation
- Taxonomy dropdown metabox in the back-end
- Add “external” link to admin menu in the backend
- Disable image attachment links
- Remove “Time to upgrade” message from dashboard
- How can I enable Google Analytics on a file download link?
- Pre-fill fields with content from outside when creating a new post
- Why are admin scripts not printed
- White screen of death only in wp-admin
- Change the link of ‘Howdy’ at the top right
- wp-admin remove the subfolder URL
- Reorder custom submenu item
- Looking for a hook to add attachment information to the media library tab
- Removing admin bar from wordpress dashboard
- Load Balanced WP with single server admin access
- How to move wp-admin login page to another location? [closed]
- WP-admin giving 404
- How to control contextual help section by code?
- Can’t access wp-admin Internal Server Error 500
- WordPress admin not changing language
- Add custom text to Page Tamplate without need to know html
- Move WP Admin Bar
- Get Stylesheet To Showup in WP Admin Panel Editor
- Deprecated : contextual_help has been deprecated since version 3.3.0
- Display $pagenow error notice on all admin pages
- Custom roles showing HTML entities in title form field
- How can I restrict a user to a specific item in the WordPress Admin? [closed]
- WordPress address URL keeps dropping the www
- How to show postmeta in custom columns for the posts screen?
- disable a wp javascript on live website, but not on wp-admin page
- wp_nonce_url to users.php for deleting user not working
- How to stop – Database Update Required – from happening again?
- Moving wp-admin to a different to a subdomain
- Can’t login to Dashboard when changing site URL to HTTPS
- Limit access to wp_admin
- Not Found (404) error on admin page, CSS gone on blog
- MySQL CPU Usage Surge up When Multiple Post Editor Pages are open
- Post Editor not working on WordPress 3.5.1
- How to Change The WordPress Login URL Without Plugin
- how to customize wp-admin page using child theme
- new subdomain to apply as main domain
- How to disable admin notice in child theme? [closed]
- WordPress server change – slow admin login time for first time
- I can´t access my admin panel. I tried all possible solutions
- Blank page for wp-admin after i uploaded the website from my localhost to the live server
- Ajax solution similar to WP Categories functioning in Admin area
- Difference between admin and user admin
- How to get specific page screen ID
- Hooks: admin_footer and admin_print_footer_scripts not working?
- Hide admin menu on update_option
- Editing edit-tags.php page in wp-admin
- What is the correct way to get only display plugin for Administrator Only
- displaying an error before update_post_meta
- firing function at login within class
- How to break line / add to ADMIN menu
- WordPress admin page not found error
- Outputting something based on the presence of post variable in admin screens
- Use of domain name
- “Add New” button on custom post type grid
- Where is function to prevents non logged users access wp-admin?
- Registering for a domain on WordPress
- CSS of the admin panel
- User Profile Avatars
- WordPress admin right sidebar isn’t working
- Why wp redirects me to wp-login.php when I visit a rewritten wp-admin URL?
- WordPress menu to change page title
- wp-admin blocking causing http error on uploads
- Performance-issue in WP-admin with a lot of posts
- DISALLOW_FILE_EDIT is false but I still am not able to edit files from the admin interface and the menus do not show up
- Updated MAMP and localhost on MacOS site no longer accessible
- What hooks should you use to create a table only once?
- Custom admin menu order fails if slugs are complicated
- Cant access wp-admin
- Function to get a ‘post selector’ UI?
- Hi everyone, I have Problem with using wp_die()
- WordPress wp-admin Page
- How can I trigger a javascript function after a post update on edit post screen in wordpress admin panel?
- restrict admin panel sections to users
- how to set not to be logined in wp-admin except administrator?
- CSRF attack to create USER
- Disable flyout (popup) menus in backend
- WordPress, content editor default type
- Changing headers for an export from within a PHP class extension
- When installing wordpress through WP CLI mysite.com/admin not working
- Remove capability to interact with a page
- WordPress Login for multiple sites
- How do I change the WordPress Address URL only and still login to wp-admin
- wordpress wp-admin showing white screen with no error
- Undeletable posts, users or other content
- Making changes to woocommerce order before save
- Blank sign in page
- Action for opening edit page in admin?
- Couple questions about .htaccess, login page, updates
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Redirecting the user to the admin table area after publishing a post, getting an invalid response error?
- How can you change the admin dashboard URL without symlinking?
- Degraded WordPress admin dashboard performance [closed]