• Resolved zedomingues

    (@zedomingues)


    We are researching this plugin to use in a project that will release member areas available for who subscribe to our product.

    subscription payment control, as well as other registration information such as telegram user ID and contact information, will be in our system.

    the creation of the user in wordpress and other necessary information will occur through the wordpress REST API.

    my question is the following: how to show personalized information (of a specific user) so that he has access, for example, to the procedure for canceling his subscription?

    Can the plugin send information to our API with the user ID so that we can individualize the user and return with his information?

    tks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @zedomingues

    You could display user field with this code:

    um_fetch_user( ID ); // change ID to needed user ID
    echo UM()->fields()->field_value( 'key' ); // 'key' - field's meta_key 
    um_reset_user();

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @zedomingues

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display custom fields based on user ID’ is closed to new replies.