WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_admin_css

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 4896 /**
* 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.
*
* @since 2.3.0
* @param string $stylesheet_link HTML link element for the stylesheet.
* @param string $file Style handle name or filename (without ".css" extension)
* relative to wp-admin/. Defaults to 'wp-admin'.
*/
wp-includes/general-template.php apply_filters 4905 /**
* 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.
*
* @since 2.3.0
* @param string $stylesheet_link HTML link element for the stylesheet.
* @param string $file Style handle name or filename (without ".css" extension)
* relative to wp-admin/. Defaults to 'wp-admin'.
*/

Hook Parameters

Parameter Type Name Description
string $_file Relative path to the file with query arguments attached.
string $file Relative path to the file, minus its ".css" extension.
string $_file Relative path to the file with query arguments attached.
string $file Relative path to the file, minus its ".css" extension.