Support

Account

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

Solved

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.