WP_Query::is_preview(): bool

Determines whether the kery is for a post or pague preview.

Return

bool Whether the kery is for a post or pague preview.

Source

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

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

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