Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

How to pass WP current user mail to the iframe
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4179
Page 1 of 1

Author:  ghabiche [ 19. Nov 2016, 18:07 ]
Post subject:  How to pass WP current user mail to the iframe

Hi,

I want to pass the email of the current user as parameter to the iframe.
I get the Information from :
Code:
<?php
    $current_user = wp_get_current_user();
    echo 'User email: ' . $current_user->user_email . '<br />';
?>


.. but how to send this Information to the calling Iframe ??

Thanks in advance for your help.
Gerhard

Author:  TinyWebGallery [ 20. Nov 2016, 08:44 ]
Post subject:  Re: How to pass WP current user mail to the iframe

See
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/url-features#h49

Best, Michael

Author:  ghabiche [ 21. Nov 2016, 10:20 ]
Post subject:  Re: How to pass WP current user mail to the iframe

Thanks Michael,

my solution is:
Code:
[advanced_iframe securitykey="f7ac716f2525c533625d739a8dabc9ca44f70428" src="http://myhomepage.com/index.php?val={username}" width="100%" height="500"]


regards
Gerhard

Author:  TinyWebGallery [ 21. Nov 2016, 10:32 ]
Post subject:  Re: How to pass WP current user mail to the iframe

:).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/