post->post_content); } /** Whether post_content is a Divi 5 layout (or empty, so a first section can be added). */ public function isDiviLayout(): bool { $content = (string) $this->post->post_content; return trim($content) === '' || str_contains($content, '