WP_Customize_Manager::current_theme( $current_theme )

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


Parameters Parameters

$current_theme

(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

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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