• Hi there.

    I’ve been looking for it but cannot find anywhere how I access the extra fields in PHP. When I get the user metadata, only some fields turned up.

    Is there any documentation on how to access all the fields in a regular manner in PHP?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter frisii

    (@frisii)

    I need to know which extra fields are available and then query them per user.

    Hello! – I came here looking for an answer to this question. Since I didn’t find anything, I took a look at the code and came up with a workaround.

    In your code, use the WordPress do_shortcode() function like this:

    $myvar = do_shortcode('[prflxtrflds_field field_id=1]');

    You’ll have to look for your desired field id in the table “wp_prflxtrflds_fields_id”

    Hope this helps.

    • This reply was modified 1 year, 5 months ago by zemog. Reason: Bad formatting
    • This reply was modified 1 year, 5 months ago by zemog.
    Plugin Support andrewsupport

    (@andrewsupport)

    Thank you for your reply. We should add that the plugin does not use meta fields, but only custom DB tables.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Accessing the Profile Extra Fields in PHP’ is closed to new replies.