Automatically assign featured image based on post content
-
I created a Custom Post type.
On publish button press, I’d like to do the following:
if the user hasn’t selected a “featured image”, I’d like to automatically assign one image based on the content of his post.
Don’t mind about HOW I want to assign one based on the content: what I want to know is if is it possible to “edit” the post automatically before it is definetely saved to the db.
Is this possible?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Automatically assign featured image based on post content’ is closed to new replies.