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.


Top ↑

Parameters

$stylesheet_link string
HTML link element for the stylesheet.
$file string
Style handle name or filename (without ".css" extension) relative to wp-admin/. Defaults to 'wp-admin'.

Top ↑

Source

File: wp-includes/general-template.php. View all references

echo apply_filters( 'wp_admin_css', $stylesheet_link, $file );


Top ↑

Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.