GC_Customize_Manager::current_theme()
最后更新于:2021-11-27 00:51:11
GC_Customize_Manager::current_theme( mixed$current_theme)Filters the current theme and return the name of the previewed theme.
参数
- $current_theme
-
(mixed) (Required) @internal Parameter is not used
响应
(string) Theme name.
源文件
文件: gc-includes/class-gc-customize-manager.php
public function current_theme( $current_theme ) {
return $this->theme()->display( 'Name' );
}