Read-Only field in user Profile (Here's the current code, what Do i do now?) (2 posts)

  1. produitsmama
    Posted 4 years ago #

    Hi I've created a custom field in my functions.php to the user profile.

    This field serve as a "registration" number and must be view only by the user in his profile and read-only except for an admin who is able to edit it.

    Here is a paste of the code i'm using. Can someone paste me a corrected version of what I need and explain how it work please?

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  2. produitsmama
    Posted 4 years ago #

    here's the pastebin version in case my code get moderated http://pastebin.com/x27yiBm9

    [ Please do not bump, it's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Topic