WP_Customize_Manager::current_theme( $current_theme )
Filters the current theme and return the name of the previewed theme.
Description
Parameters
- $current_theme
-
(Required) @internal Parameter is not used
Return
(string) Theme name.
Source
File: wp-includes/class-wp-customize-manager.php
public function current_theme( $current_theme ) { return $this->theme()->display( 'Name' ); }
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |