On this page
apply_filters( 'wp_admin_css', string $stylesheet_link, string $file )
Filters the stylesheet link to the specified CSS file.
Description
If the site is set to display right-to-left, the RTL stylesheet link will be used instead.
Parameters
$stylesheet_linkstring-
HTML link element for the stylesheet.
$filestring-
Style handle name or filename (without ".css" extension) relative to wp-admin/. Defaults to
'wp-admin'.
Source
File: wp-includes/general-template.php. View all references
echo apply_filters( 'wp_admin_css', $stylesheet_link, $file );
Related
Used By
| Used By | Description |
|---|---|
| wp_admin_css() wp-includes/general-template.php | Enqueues or directly prints a stylesheet link to the specified CSS file. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_admin_css