wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_admin_css_uri › WordPress Function
Seit2.3.0
Veraltetn/v
› wp_admin_css_uri ( $file = 'wp-admin' )
Parameter: |
|
Siehe: |
|
Gibt zurück: |
|
Definiert in: |
|
Codex: |
Displays the URL of a WordPress admin CSS file.
Ähnliche Funktionen: wp_admin_css, wp_admin_css_color, wp_admin_canonical_url, _wp_admin_bar_init, wp_admin_notice
Quellcode
function wp_admin_css_uri( $file = 'wp-admin' ) { if ( defined( 'WP_INSTALLING' ) ) { $_file = "./$file.css"; } else { $_file = admin_url( "$file.css" ); } $_file = add_query_arg( 'version', get_bloginfo( 'version' ), $_file ); /** * Filters the URI of a WordPress admin CSS file. * * @since 2.3.0 * * @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 apply_filters( 'wp_admin_css_uri', $_file, $file ); }