• Resolved edmundspr

    (@edmundspr)


    good day

    i created some custom User fields. How can i access the fields with API or hooks programaticaly ?

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Support Michael Beil

    (@michaelbeil)

    Hey @edmundspr,

    Thank you for reaching out to Paid Memberships Pro.

    User Fields are stored in the wp_usermeta table (note: your table prefix may differ from the default wp_) with the User Field Name in the meta_key column as an identifier and the data collected in the meta_value column. You or your developer should be able to work with user meta using the WordPress API (https://developer.wordpress.org/rest-api/reference/users/) and manage and obtain user metadata using WordPress functions (e.g. get_user_meta).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.