The current admin color scheme is a user setting, you can get its value with:
$current_color = get_user_option( 'admin_color' );
See the function admin_color_scheme_picker()
in wp-admin/includes/misc.php
for an usage example.
Related Posts:
- Where in WP can I check history or log of updates of plugins etc?
- How does admin-ajax.php work?
- Hide other users’ posts in admin panel
- Editor Styles and Typekit
- WordPress admin stylesheet
- Is it possible to create a WordPress tour? V3.3.1
- Securing Admin Accounts – Username Discovery
- Can an admin check passwords of registered users?
- Prevent author from changing their posts if admin has modified
- Showing WP_Error message with admin_notice action hook
- Disable the post save process completely
- How can we customize the logo and some text on the welcome screen?
- Allow admin login at /admin
- Appearance->Editor not visible
- Custom WP_List_Table displays blank rows
- Remove post from new menu in top bar
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- Enqueue jQuery UI Tabs In Admin Area
- How to maintain wordpress site blogs in production and staging?
- Pagination Error on Admin (You do not have sufficient permissions)
- How to Use Resposive Tables in WordPress ADMIN Pages?
- WordPress redirects me to homepage after page update in admin section
- how to display “Edit | Quick Edit | Trash | View” in custom WP_List_Table column?
- How to publish page that can’t be detected by search engines?
- Custom taxonomy admin page
- How can I activate Collapse Menu in WordPress?
- Help extending custom drag-drop page ordering on admin page list screen
- How do I enable new account notification emails (to the administrator)?
- Change the Default Pages Menu View in wp-admin
- In administration, how do I display comments of a certain user?
- New users must comment when requesting username
- WordPress stripping html and script tags from some admin users on save
- Why are my styles being applied to the admin area?
- Disable WP Editor for specific page templates
- How to change admin menu position of “Media”?
- How to disable automatic excerpt generation *in admin*?
- Hide Updates from Admins that don’t equal a set Username
- Associating custom submenu item with post type of top level menu item
- wp_schedule_event only when admin is visited
- Two admins in Users and one in the database?
- Single category’s posts list in admin menu
- Editing the Backend Uploader
- Hide Pages on Edit Pages based on Capability (edit_others_pages)?
- Hide one admin from another admin
- Using shared SSL for login/admin
- How to add custom classes to admin list table default rows or columns?
- How to hide a specific part of dashboard for non-admin roles?
- Get a listing of portfolio items and categories
- WordPress Remove Submenus
- Continuous Login Sessions For Super Admins Across Multi-Site Network of Sites
- using rewrites to secure login page
- page not updating with database
- Client system for media review?
- Redirect from the dashboard to edit.php if wp_is_mobile() is true
- Seems that admin_post_{action} does not executing
- If statement for admin page
- Customizing WordPress Admin – How to Change the Avatar size
- Create a WordPress administrator without access to back-end
- WordPress 3.1’s admin bar disappears only leaving its 28 px padding (in ubuntu)!
- How to log out from admin or front-end only?
- Shared account / dual blogging in WordPress
- How To Make Iris Color Picker Showed Up Over Form and Text?
- my checkbox is not saving it’s value
- Can’t login to my admin area
- how to show admin notice in custom menu page after submitting the form?
- Accidentally changed website url
- Private post hidden from Admin too
- Send admin to a different login than users?
- How much traffic is real traffic?
- How to change the descriptive text on the menus admin page?
- Getting rid of menu items on a custom taxonomy
- Having problem creating local instance of wordpress site
- WordPress Plugin Admin Tab
- Parsing post->ID in included plugin file
- Gutenberg UI has changed
- Call require_once form admin page with checkbox
- How To Remove Import/Export Option From Tools?
- Highlight active Admin Menu when added though add_menu_page
- Unable to access admin web page
- Error “Sorry, you are not allowed to access this page”
- Create WordPress Menu Item Without Linking to a Custom Page
- Search Only Works when Logged into Admin
- exclude ID on avatar
- Missing content on website. Admins cant sign in
- Different role for free and pro users in wordpress without using bbpress
- Is Post-Form Resubmission somehow prevented in WordPress 4.2.2?
- WordPress login not working
- Enqueue script throws error in console
- How to sort post_meta in edit.php?
- Scripts are not called until I login from wordpress backend
- Link to all posts page?
- WP Logs me out after updating anything on dashboard
- Adding additional text fields and image upload to a Page?
- Calculate and save an average in a meta
- If the only thing I use MySQL for is WordPress, do I need MySQL’s timezone tables?
- plugin to upload to youtube via wordpress [closed]
- How to fix: Clicking ‘Quick Edit’ link in Admin (edit.php) makes posts disappear?
- My Account Lost Administrator permission
- Use the wordpress admin table
- deploying a standard build of wordpress in WHM/cPanel