WordPress.org

Ready to get started?Download WordPress

Codex

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

Function Reference/locale stylesheet

Contents

Description

Display localized stylesheet link element.

If get_locale_stylesheet_uri() returns a value, locale_stylesheet will echo a valid xhtml <link> tag like this:

<link rel="stylesheet" href="path_to_stylesheet" type="text/css" media="screen" />

If get_locale_stylesheet_uri() does not return a value then the function exits immediately.

Usage

<?php locale_stylesheet() ?>

Parameters

None.

Return Values

(void) 
This function does not return a value.

Examples

Notes

Uses get_locale_stylesheet_uri().

Change Log

Since: 2.1.0

Source File

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

Related

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