WP_Customize_Manager::current_theme( mixed $current_theme )
Filters the active theme and return the name of the previewed theme.
Parameters
- $current_theme
-
(mixed) (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' ); }
Expand full source code Collapse full source code View on Trac View on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |