• Resolved Furby

    (@tomberwolf)


    Hey,

    is it possible to modify a URL field to fill it with “user_login”?
    We’re using a social registration plugin so that the account name is part of the Twitter URL.
    We want to add the Twitter URL field, make it just readable and prefilles with the right URL to “https://twitter.com/user_login”

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

    (@yuriinalivaiko)

    Hi @tomberwolf,

    You can add the Twitter (twitter) field to the profile form, this is a predefined field. We can not modify this field like you want.

    You need to write a custom PHP code that adds the “twitter” usermeta with a proper URL once the user is added via the social registration plugin you use. Try to find a proper hook in the social registration plugin or use the native WordPress hook user_register.

    Regards

    Plugin Support yuriinalivaiko

    (@yuriinalivaiko)

    Hi tomberwolf,

    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 ‘Fill in URL field with Username?’ is closed to new replies.