wp_admin_css_uri filter-hookWP 2.3.0

Filters the URI of a WordPress admin CSS file.

Usage

add_filter( 'wp_admin_css_uri', 'wp_kama_admin_css_uri_filter', 10, 2 );

/**
 * Function for `wp_admin_css_uri` filter-hook.
 * 
 * @param string $_file Relative path to the file with query arguments attached.
 * @param string $file  Relative path to the file, minus its ".css" extension.
 *
 * @return string
 */
function wp_kama_admin_css_uri_filter( $_file, $file ){

	// filter...
	return $_file;
}
$_file(string)
Relative path to the file with query arguments attached.
$file(string)
Relative path to the file, minus its ".css" extension.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

wp_admin_css_uri()
wp_admin_css_uri
wp-includes/general-template.php 4838
return apply_filters( 'wp_admin_css_uri', $_file, $file );

Where the hook is used in WordPress

Usage not found.