Home › Forums › ACF PRO › Auto populate custom field with user data › Reply To: Auto populate custom field with user data
Hello John,
Thanks for the reply.
My programming skills are not very good so maybe you can help me on my way.
What I want to realize is that he retrieves users data from the user who is logged in at that moment.
So for example:
I have a text field called “name_provider” with id “field_5b0bc22b22606”.
This field is linked to a Custom Post Type. When a user posts a new message, the username of the logged-in user must automatically be entered in the “name_provider” field. So that when a user posts this new message his username is automaticly in the post.
Could you help me get started with this?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.