• Resolved pherank

    (@pherank)


    I’ve run into an issue with WP-Members registration and an appointment booking plugin – when a new user registers for the site, they are then able to book an appointment. The appointment form is then populated with some of the new WP user data. Unfortunately, the field for the user’s “Full name” displays the WP username and not their actual full name. It turns out that WP-Members is filling the display_name field in the wp_users table with the user_login –

    https://www.burntscarlet.com//_test/wordpress/database_contents.png

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    If display_name does not exist in the form, it will be populated with the username (same with other required WP defaults like nickname and user_nicename).

    Or you could change the value of $fields[‘display_name’] at registration using the wpmem_register_data filter hook ( https://rkt.bz/i0 ) which comes before user data is inserted.

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with WP display_name and user_login on registration’ is closed to new replies.