WordPress at Your Fingertips
filter is not described

wp_admin_css filter-hook . WP 2.3.0

Filters the stylesheet link to the specified CSS file.

If the site is set to display right-to-left, the RTL stylesheet link will be used instead.


add_filter( 'wp_admin_css', 'filter_function_name_2863', 10, 2 );
function filter_function_name_2863( $stylesheet_link, $file ){
	// filter...

	return $stylesheet_link;
HTML link element for the stylesheet.
Style handle name or filename (without ".css" extension) relative to wp-admin/.
Default: 'wp-admin'


Since 2.3.0 Introduced.

Where the hook is called

wp-includes/general-template.php 4581
echo apply_filters( 'wp_admin_css', $stylesheet_link, $file );
wp-includes/general-template.php 4590
echo apply_filters( 'wp_admin_css', $rtl_stylesheet_link, "$file-rtl" );

Where in WP core the hook is used WordPress

Usage not found.