Maybe i add it on the wrong place
Where should this part get add?
The user logging and in the same time this button
Xyz() have to be executed
He and thank you for the reply
]]>this is the base button code exemple:
<?php if ( $data[‘show_button’] ):?>
<div class=”Test-wrapp”>
<button class=”Test2-bttn” onclick=”Test3();”><?php _e(‘Test4’, ‘Test5’);?></button>
</div>
<?php else :?>
<?php if ( $data[‘warning_message’] ):?>
<p><?php echo $data[‘warning_message’];?></p>
<?php endif;?>
<?php endif;?>
also this is this code that needs to get executed when the user login the first time,
as you can see it is an onclick button
Test3()
is client side script, “wp_login” executes server side. There’s no mechanism for it to directly call client side script.
If you want, you could use the “redirect_to” filter to manage what page is seen after login. On that page you could have such a button and execute Test3()
on click.
This is exactly what I have today.
One click,
but what have to be is when user login automatically this button get push in the same time.
Do you know something about WordPress slow picture upload?
I have two hundred mbs connection, eight gb ram, and need one minute to upload simple picture i do with my phone.
If it remains a significant hindrance, try complaining to your host. Maybe they’ll move you to a less loaded server. Or they’ll try to sell you a more powerful plan. If the upload speed is bad enough, consider moving hosts.
]]>Phone is fine
Server ubuntu 18.04.4
Connection 190 mbs upload and download
Writing data, how can i configure this?
]]>It is vps with four site
To come back to the button that needs to get push before to use the site.
Is it possible to open an pop up that first close when the button get pressed and only visible for logged in user that did not push this button.
]]>