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. Continue Reading →
wpmem_admin_after_block_save
Email users when a new post is published – opt-in/opt-out version
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. Continue Reading →