WordPress at a glance
function is not described

locale_stylesheet() WP 2.1.0

Displays localized stylesheet link element.

No Hooks.

Return

null. Nothing.

Usage

locale_stylesheet();

Changelog

Since 2.1.0 Introduced.

Code of locale_stylesheet() WP 5.7.2

<?php
function locale_stylesheet() {
	$stylesheet = get_locale_stylesheet_uri();
	if ( empty( $stylesheet ) ) {
		return;
	}

	$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';

	printf(
		'<link rel="stylesheet" href="%s"%s media="screen" />',
		$stylesheet,
		$type_attr
	);
}