/ Published in: PHP

If a post is published without setting a featured image and there is an image attachment, this will select an image from the media library and set it as the featured image.
Comments
