Set featured image for multiple posts

You could hook into the publish_post action, check if a featured image has been set, and if not, assign the image you want as the featured image.

The publish_post Codex page has a nice example about changing a post after it has been published.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)