• Hello!

    I am having trouble being able access the featured Image from a Plugin im writing.

    I am using the code: add_action('publish_post','addIcon'); so that every time a post is published I can access the featured picture from that post

    I need to know what I would need in my addIcon() function that would allow me to do something with the picture.

    If it matters, what I’m trying to do is send a copy of the picture to another table in the DB

    Thank you for any hint or help!

  • The topic ‘Featured Image’ is closed to new replies.