Home Forums Plugin Support WP User Frontend Pro Save custom user meta field in post

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
    Posts
  • #17105

    Sonia
    Member
    Post count: 5

    Hi Tareq,

    On user registration I created some custom fields, that would be really nice to update on post submission.

    The goal is to avoid the user having to write the same information at any time he submits a post.

    Can you please help providing some code ?

    I coded the new custom field in the post, but not succeeding to save the user meta field information.

    Thank you !!!

    #17107

    Tareq Hasan
    Keymaster
    Post count: 2831

    As those are on registration, they are saved in user meta. But you want to show them on post meta. By default, you can't do that. You've to use action hook fields.

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

The topic ‘Save custom user meta field in post’ is closed to new replies.