Use PHP session in wordpress.
add_action('init', 'myStartSession', 1); function myStartSession() { if(!session_id()) { session_start(); } }
Read More Posts
- How to download pdf file on browser instead of saving it on the server in fpdf?
- How to link css,jquery and ajax with all files via one wordpress function?
- How to get woocommerce products in loop ?
- How to Make Billing and Shipping Fields Optional and required in WooCommerce?
- How to redirect in php after resubmittion with button?