The alternative to wp_head
action in admin area is admin_head
. But, if your CSS depends on another stylesheet, you should use wp_add_inline_style()
function hooked to admin_enqueue_scripts
action.
Related Posts:
- Are there any action like ‘init_frontend’
- Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area
- Admin pages have no content
- How to Remove the “Restore” Link in Quick Edit?
- Use latest jQuery in WordPress (admin interface)
- Adding markup to column text in “Edit Pages” admin page
- Disable HTML (Text) Tab in Post Editor
- disable admin-bar search field for specific roles
- Change home-url in dashboard
- What determines whether admin toolbar is shown to a logged-in user?
- Manage users custom column add class “num”
- Restore original WP admin bar after BuddyPress install [closed]
- Disable the “Skip to Toolbar” tabbing accessibility feature
- Custom Thickbox Broken on Dashboard Page?
- Where should I hook into admin?
- Problems with WP_List_Table and hooks
- Hide admin toolbar based on a query string
- Admin Top Bar Not Showing On Front End
- Why can’t a custom postype be registered with “admin_init” hook?
- Remove Permalink From Admin Edit Post
- Show excerpt if no title in admin view
- Seems that admin_post_{action} does not executing
- get_current_screen and the WP_Screen class
- Filter WooCommerce Orders
- Send admin to a different login than users?
- Admin bar is disabled in front
- Remove iPhone detection on login page
- require/include php file in add_menu()
- Admin Bar Acting Up
- Show admin bar to editors with Buddypres
- Can’t access dashboard after 4.8.1 automatic upgrade
- ‘Conflict’ with action deleted_post and is_admin()
- Signed-in as admin on just part of the site
- Add item to admin bar as late as possible
- Custom Div with links on Admin Bar
- Content is displayed under admin bar [closed]
- What are the standard admin CSS id/class tags?
- The website cannot display the page
- Set Default Admin Colour For All Users
- Settings API – easiest way of validating checkboxes?
- initial sort order for a sortable custom column in admin
- Uploading files in admin panel?
- Redirect Admin User in Dashboard
- Read only capability for custom post in admin area
- How can ‘admin_email’ be set?
- Using require_once() within admin
- Integrate post tags in Post Edit page with qTranslate
- Add a custom column in users list page
- Blocking Administrative Access to Authors and Subcribers?
- How to display only logged in user’s post comments in comments area
- Custom taxonomy admin description
- Different color admin bars for dev, staging and production
- WordPress manage users as non admin
- Refreshing collections in the admin media manager
- Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
- Is there a way to hook into the update-core page for custom messages?
- How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize
- Enabling users to replace site title (text) with a image logo (but keeping the text if there isn’t any image)?
- Categorizing Page Templates
- My WordPress Admin looks messed up when I edit posts or pages
- POMO_Reader->substr() call endless loop?
- jQuery UI AutoComplete & wp_enqueue_script
- Plugin admin panel JavaScript Broken
- Force Contributors to add Tags via edit-tags.php
- Edit Auto Update Admin Notification
- Unable to Access WP Admin or Login buttons after Migration
- admin_enqueue_scripts the same css file as wp_enqueue_style
- Add sub menu page in your plugin
- Unable to get to the admin panel
- How to find a spam link?
- Is there alternative to WP_List_Table?
- How to change all “Post” texts in dahboard into “Article”?
- How to disable Media Library uploads for non-Admin users?
- Page can’t hand request – HTTP ERROR 500 – when updating something
- WordPress wraps span tags into p tags
- How to change the User name and Password of admin account
- Redirect public site to another one but allow administrators to access the old site
- Posts in sidebar only by admin
- Display an image of selected template in admin to aid user when using complex templates
- Passing state from child component to parent component in a Gutenberg Sidebar
- I can’t enter the control panel of my wordpress site after channing the URL to https://
- Admin user column sort by numeric meta key
- Can I retrieve Published changes when changes have been Saved but not Published in WordPress Semplice?
- I can’t access login page
- Get Link of Page Selected through a Select Field in Custom Admin Page
- how to disable the e-mail verification on wp-admin/options-general.php multisite admin e-mail
- conditionally update css on edit.php
- Simple CSS admin pagination
- Can I show the tag admin interface on a post when logged in as an admin?
- site admin for subscribers
- WordPress gallery image link gives 404 when not logged in
- WordPress admin loads erratically “connection reset by peer”
- Remove “minor-publishing” div from Publish admin metabox
- New User Notification – Setting Email
- Can’t access my wp admin: captcha images invisible, gives me error message
- You do not have permission to access this document on form submit
- Woo Commerce Settings for Check-out Form [closed]
- Filtered dropdown for author?
- Change order of the block editor’s panel
- Display admin sidebar into custom post pages if logged