wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



locale_stylesheet › WordPress Function

Da2.1.0
Deprecaton/a
locale_stylesheet ( Nessun parametro )
Definito a:
Codex:

Displays localized stylesheet link element.



Sorgenti

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
	);
}