WordPress.org

Ready to get started?Download WordPress

Forums

Display Name Publicly Full Name Default (2 posts)

  1. User45
    Member
    Posted 1 year ago #

    How to make "display name publicly" as "First & Last Name" by default so users can not change it to nicknames or just first name.

  2. bcworkz
    Member
    Posted 1 year ago #

    Not sure how well this would work, but your best bet may be to hook the action 'admin_enqueue_scripts' to enqueue a jQuery script when the user-edit page loads to alter the select options onload and any time any of the pertinent fields change value.

    There is likely some conflict with the default javascript trying to do a similar thing. I'm unsure how to resolve that if it happens.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.