WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get locale stylesheet uri

Description

Retrieve localized stylesheet URI.

The stylesheet directory for the localized stylesheet files are located, by default, in the base theme directory. The name of the locale file will be the locale followed by '.css'. If that does not exist, then the text direction stylesheet will be checked for existence, for example 'ltr.css'.

The theme may change the location of the stylesheet directory by either using the 'stylesheet_directory_uri' filter or the 'locale_stylesheet_uri' filter. If you want to change the location of the stylesheet files for the entire WordPress workflow, then change the former. If you just have the locale in a separate folder, then change the latter.

Usage

<?php get_locale_stylesheet_uri() ?>

Parameters

None.

Return Values

(string) 
Returns localized stylesheet URI.

Examples

Notes

Change Log

Since: 2.1.0

Source File

get_locale_stylesheet_uri() is located in wp-includes/theme.php.

Related

See also index of Function Reference and index of Template Tags.