wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_using_themes › WordPress Function

Since5.1.0
已弃用n/a
wp_using_themes ( 没有参数 )
返回:
  • (bool) True if themes should be used, false otherwise.
定义在:
文档:

Determines whether the current request should use themes.



源码

function wp_using_themes() {
	/**
	 * Filters whether the current request should use themes.
	 *
	 * @since 5.1.0
	 *
	 * @param bool $wp_using_themes Whether the current request should use themes.
	 */
	return apply_filters( 'wp_using_themes', defined( 'WP_USE_THEMES' ) && WP_USE_THEMES );
}