WP_Theme::__toString()

When converting the object to a string, the theme name is returned.


Return Return

(string) Theme name, ready for display (translated)


Top ↑

Source Source

File: wp-includes/class-wp-theme.php

	public function __toString() {
		return (string) $this->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.