locale_stylesheet

Display localized stylesheet link element.

Description

locale_stylesheet(); 

Usage

  1. if ( !function_exists( 'locale_stylesheet' ) ) { 
  2. require_once ABSPATH . WPINC . '/theme.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = locale_stylesheet(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/theme.php  
  1. function locale_stylesheet() { 
  2. $stylesheet = get_locale_stylesheet_uri(); 
  3. if ( empty($stylesheet) ) 
  4. return; 
  5. echo '<link rel="stylesheet" href="' . $stylesheet . '" type="text/css" media="screen" />';