WP_Customize_Manager::current_theme( mixed $current_theme ): string

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


Parameters

$current_theme mixed Required
@internal Parameter is not used

Top ↑

Return

string Theme name.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

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