WP_Customize_Manager::current_theme( mixed $current_theme )

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

Parameters Parameters


(mixed) (Required) @internal Parameter is not used

Top ↑

Return Return

(string) Theme name.

Top ↑

Source Source

File: wp-includes/class-wp-customize-manager.php

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

Top ↑

Changelog Changelog

Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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