# get_stylesheet_uri()

URL: https://chugunov.pro/api-wordpress/functions/get_stylesheet_uri/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: функция.
Появился в версии: 1.5.0.

## Сигнатура

```php
get_stylesheet_uri(): string
```

## Описание

Имя файла таблицы стилей — ‘style.css’, которое добавляется к пути URI каталога таблицы стилей.
См. get_stylesheet_directory_uri() .

## Возвращаемое значение

`string`

## Исходный код

Файл: `wp-includes/theme.php:252`

```php
function get_stylesheet_uri() {
	$stylesheet_dir_uri = get_stylesheet_directory_uri();
	$stylesheet_uri     = $stylesheet_dir_uri . '/style.css';
	/**
	 * Filters the URI of the active theme stylesheet.
	 *
	 * @since 1.5.0
	 *
	 * @param string $stylesheet_uri     Stylesheet URI for the active theme/child theme.
	 * @param string $stylesheet_dir_uri Stylesheet directory URI for the active theme/child theme.
	 */
	return apply_filters( 'stylesheet_uri', $stylesheet_uri, $stylesheet_dir_uri );
}
```

## История изменений

- 1.5.0 — Introduced.

## Связанные

Использует: [`get_stylesheet_directory_uri`](https://chugunov.pro/api-wordpress/functions/get_stylesheet_directory_uri/), [`apply_filters`](https://chugunov.pro/api-wordpress/functions/apply_filters/).
Используется в: [`get_bloginfo`](https://chugunov.pro/api-wordpress/functions/get_bloginfo/).

Оригинал в официальной документации: https://developer.wordpress.org/reference/functions/get_stylesheet_uri/
