This is an extension of the ideas presented in the tutorial Restrict Post or Page Access to a Specific User with the twist that this version makes some minor changes to incorporate an HTML multi-select for selecting multiple users for access to a post. [Read more…]
This code snippet is an extension of the email users when a new post is published snippet. Like that snippet, this one comes from user requests.
The difference here is that we will only email users who have requested specifically to be notified of new posts, and we’ll allow them to opt-out of that process at a later date by updating their profile. [Read more…]