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.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More