Home Forums General Issues get_fields to get ALL fields for a USER


get_fields to get ALL fields for a USER

  • Is there a way to get ALL fields for a USER?

    tried with


    but nothing

    getting individual fields works


    I added the fields by code using the update_post_meta() because update_field() does not work by code? Am I right?

  • Hi @traipler

    I’ve just tested it on my installation and the get_fields() function was working as it should. It’s possible that there’s something wrong with how you add the meta values. Did you add the reference in your database? This page should give you more idea about it (under field_key vs field_name section):

    I hope this helps.

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

You must be logged in to reply to this topic.