saving variables after redirect
You could store the password as a transient, then pass the transient key in the URL instead so it can be retrieved using that key on the next page. function process_my_form() { if ( ! empty($_POST[‘password’]) ) { $password = ($_POST[‘password’]); } else {return;} /* Store Password via Transient API */ $passkey = wp_generate_password(12, false); … Read more