Get primary image for Wordpress post

/ Published in: PHP
Save to your folder(s)

If post has featured image, use it.. If not, pick out the first in the post.. Still not working? Stick with the default one..

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.