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?