WP_Customize_Manager::is_preview(): bool

In this article

Determines whether it is a theme preview or not.

Return

bool True if it’s a preview, false if not.

Source

public function is_preview() {
	return (bool) $this->previewing;
}

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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