apply_filters( ‘wp_admin_css’, string $stylesheet_link, string $file )

In this article

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

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

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

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