hey guys, i have a client asking for a tricky addition for me. as a newbie to PHP, i was wondering if someone could point me in the right direction...
i need to create a Frontend Button/Link that would swap the corresponding Post's Visibility from "Password Protected" to "Public"
the overall concept:
- I create a post and set it to "Password Protected"
- I send the link to the Post & Password to a User for Approval
- If User Approves of the post, they can click "Approve"
- the post then goes live to the WP site (visibility switched from Password to Public)
any advice or tips would be greatly appreciated!