Using the featured image is simply the easiest solution since it relies only on WordPress core methods. Here are the two ways to extract the first image from an HTML blob (I suggest the DOMDocument
approach).
Using the featured image is simply the easiest solution since it relies only on WordPress core methods. Here are the two ways to extract the first image from an HTML blob (I suggest the DOMDocument
approach).