A WordPress-centric search engine for devs and theme authors



wp_admin_css ›

Since2.3.0
Deprecatedn/a
apply_filters( 'wp_admin_css', $stylesheet_link, $file )
Parameters: (2)
  • (string) $stylesheet_link HTML link element for the stylesheet.
    Required: Yes
  • (string) $file Style handle name or filename (without ".css" extension) relative to wp-admin/. Defaults to 'wp-admin'.
    Required: Yes
Defined at:
Codex:

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.





Source

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