How to Automatically Set the Featured Image in WordPress

Automatically Set the Featured Image

I am going to share quick easy snippet How to Automatically Set the Featured Image in WordPress that will set the featured image automatically by grabbing the first image of the post. You can select your own featured image as well. You just need to add this snippet to your theme’s function.php file.