wp_admin_css_uri WordPress Filter Hook
The wp_admin_css_uri hook is used to change the default CSS file used in the WordPress admin interface. By default, this CSS file is called "wp-admin.css" and is located in the WordPress "admin" directory. However, if you want to use a different CSS file for the admin interface, you can use this hook to specify the path to your CSS file.
apply_filters( 'wp_admin_css_uri', string $_file , string $file ) #
Filters the URI of a WordPress admin CSS file.
Parameters
- $_file
(string)Relative path to the file with query arguments attached.
- $file
(string)Relative path to the file, minus its ".css" extension.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |