diff --git a/Exporter.php b/Exporter.php index b15095c..9d942a9 100644 --- a/Exporter.php +++ b/Exporter.php @@ -182,6 +182,10 @@ private function metadata($type, $post) return array(); } + if ($featuredImageUrl = get_the_post_thumbnail_url($post->ID)) { + $metadata['featured_image_url'] = [$featuredImageUrl]; + } + return $metadata; }