Get current user_id on wordpress for custom variable (Solved)
Get current user_id on wordpress for custom variable (Solved)
At a glance
The post asks for a way to get data on Typebot when running it on the client-side. The comments provide a solution, which involves creating a PHP snippet to add the current user's ID to the page footer as a JavaScript variable. This variable can then be used in the Typebot embed script to pre-fill the user ID. The community members also mention that this solution can be used to fully automate a membership site, including the payment gateway, without using WooCommerce.
thanks for this great tools! now i can full automate my whole member include payment gateway without woocommerce so if u need this case too here how u can solve it