get_stylesheet()

最后更新于:2021-11-27 00:46:13

get_stylesheet()

Retrieves name of the current stylesheet.

响应

(string) Stylesheet name.

源文件

文件: gc-includes/theme.php

function get_stylesheet() {
	/**
	 * Filters the name of current stylesheet.
	 *
	 * @since 1.5.0
	 *
	 * @param string $stylesheet Name of the current stylesheet.
	 */
	return apply_filters( 'stylesheet', get_option( 'stylesheet' ) );
}