Home Forums Plugin Support WP User Frontend Pro Rename Featured Image After Upload

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #16854

    Post count: 165


    how can I rename the Featured Image after it has been uploaed?
    I like to rename it with the title of my Post.

    How does that work, is there Hook or something to do this right after posting the post?



    Tareq Hasan
    Post count: 2831

    Hooks http://docs.wedevs.com/category/plugins/wp-user-frontend-pro/developer-documentation/actions/

    Use wpuf_add_post_after_insert. So you've the post id, fetch the featured image ID of that post and update the featured image title with the post title.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Rename Featured Image After Upload’ is closed to new replies.