WP_Customize_Manager::current_theme( mixed $current_theme ): string

In this article

Filters the active theme and return the name of the previewed theme.

Parameters

$current_thememixedrequired
@internal Parameter is not used

Return

string Theme name.

Source

public function current_theme( $current_theme ) {
	return $this->theme()->display( 'Name' );
}

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.