WordPress.org

Support

Support » Plugins and Hacks » User Meta Manager » [Resolved] Make custom fields read only?

[Resolved] Make custom fields read only?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author President McCheese

    @jason-lau

    Add the “readonly” attribute to the field.

    In UMM’s custom meta editor, in the “Additional Attributes” field, you would enter –
    readonly

    or

    disabled="disabled"

    The value can still be changed by admin using UMM’s interface.

    Important note: This does not prevent data from being passed by a malicious user. A user can manipulate the DOM with a code inspector and then submit the form.

    Appreciate the support and info!

    Hello,
    If I do read only a user profile field, I can’t modify it. from user administrator for example.
    I need the user profile fields are read only for all users except user’s administrator.

    Thank you very much.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Make custom fields read only?’ is closed to new replies.
Skip to toolbar