• Resolved Han Leentvaar

    (@hleenwp)


    Hi, thanks for this great plugin!
    I searched for a possibility to pre-fille the username, but did not find a suitable hook.
    I wonder if it is possible?
    Regard, hleen

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

    (@cbutlerjr)

    There would be a few different ways to approach this, and it would probably depend on your specific use case and how you envision things working.

    The first that comes to mind would be the wpmem_register_form_rows filter. This is all of the registration form rows before they are assembled into the form. You could filter the HTML input for the username here. It would be in the $rows array as username (i.e. $rows['username']). See the documentation for this filter hook here: wpmem_register_form_rows

    Thread Starter Han Leentvaar

    (@hleenwp)

    Thanks!
    Was not able to try it because I did choose another method.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.