Support » Plugin: Login With Ajax » Data recovery

  • singer18

    (@singer18)


    Hello,
    I would like to know how to retrieve the name and first name of the user to insert it automatically into a form (Contact Form 7).
    Thank you very much.

Viewing 1 replies (of 1 total)
  • Plugin Author Marcus

    (@netweblogic)

    That has little to do with our plugin. We add login forms and pass nanme registration to WordPress. To pre-populate, you’d use the regular WP functions or functionality within the other CF7 plugin if it has.

    For example something like:

    $WP_User = get_current_user();
    echo $WP_User->first_name;
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.