Check wp-postpass_* auth cookie
I have a WP site with a couple of password protected pages. After a user has entered the corrrect password WP creates a cookie called wp-postpass_*. I want to check wether or not the user logged in to a specific page correctly within my own PHP script. I found the wp_authenticate_cookie() function but I still don’t understand how to use this function within my own script to check for different password protected pages… 🙁
Help would be very much appreciated!
THX a lot!
- The topic ‘Check wp-postpass_* auth cookie’ is closed to new replies.