I have created a custom user profile field

I now need to use the data on the front end of wordpress to display information. I think I need to use the get_user_meta() function but I do not understand how to use is to get the value of an array.

How to get data from an array using get_user_meta()?

Answer

The function is

The $single is a boolean that returns a single value for true or an array if set to false, in your case you would set it to false.

Tagged with →  
Share →

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>