Is there a way to get ALL fields for a USER?
tried with
get_fields("user_5");
but nothing
getting individual fields works
get_field("work","user_5");
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): http://www.advancedcustomfields.com/resources/update_field/.
I hope this helps.