Support

Account

Home Forums ACF PRO Select in user profile not working with return format "array"

Helping

Select in user profile not working with return format "array"

  • Hi

    I’m using a select field on the user page. I would like to return both the value and the label. However, if I choose return format both, only the label is saved in the wp_usermeta database. Any idea why this could be?

    Thanks for your help

    Cheers
    Nina

  • ACF only stores the value of the field no matter what the return format is set to. ACF uses the field definition to return the array by getting the labels from $field['choices']

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

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.