[wp-trac] [WordPress Trac] #4227: Add hook for first save as private post

WordPress Trac wp-trac at lists.automattic.com
Sat May 5 10:30:07 GMT 2007


#4227: Add hook for first save as private post
-------------------------+--------------------------------------------------
 Reporter:  mattyrob     |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.3      
Component:  General      |     Version:  2.1.3    
 Severity:  normal       |    Keywords:  hook     
-------------------------+--------------------------------------------------
 The are already a few hook in wp-includes/post.php relating to the
 editing, saving and publishig of posts but I think there is a gap.

 I have a plugin (Subscribe2) that emails a list of subscribers when a post
 is made and several users have asked if I can add a feature to mail out
 when a private post is added.

 By adding a hook that is called when a post is saved from Draft status to
 Private status for the first time, I could hook into this process to keep
 some of my users happy.

 So, can a hook be added?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4227>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list