WP_Theme::__toString(): string In this article Table of ContentsReturn Source Related Changelog ↑ Back to top When converting the object to a string, the theme name is returned. Return string Theme name, ready for display (translated) Source public function __toString() { return (string) $this->display( 'Name' ); } View all references View on Trac View on GitHub Related UsesDescriptionWP_Theme::display()wp-includes/class-wp-theme.phpGets a theme header, formatted and translated for display. Changelog VersionDescription3.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.