Support

Account

Home Forums ACF PRO Retrieving values from post meta field?

Helping

Retrieving values from post meta field?

  • Hello,
    I have a post meta field named “user_to_client”. It connects clients (custom post type) with users.

    I would like the values in the user_to_client to be shown for the specific logged in user, the choices should be shown when creating/editing a post. And the choosen value should be saved in the database.

    Is it possible through ACF PRO to have some kind of custom field which can get the values from the post meta field “user_to_client” and make them as alternatives so the logged in user can choose one of them and save it to the DB together with the post ?

  • Yes, it is possible. You would set up a select field and then you can dynamically populate the choices of that field. You can read about this here https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/

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

The topic ‘Retrieving values from post meta field?’ is closed to new replies.