Support » Developing with WordPress » Need to populate logged-in Email with JS

  • Have some JS code and we need to populate the Email address of any user that’s logged in, but just leave it blank if the user isn’t logged in. Would need to be inserted in this bit of code:

    __insp.push(['identify', "john@example.com"]);

    Anyone know the code to insert there? Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Need to populate logged-in Email with JS’ is closed to new replies.