[wp-trac] [WordPress Trac] #13001: Action Hook for change post status
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 15 05:27:55 UTC 2010
#13001: Action Hook for change post status
---------------------------------+------------------------------------------
Reporter: Angeloverona | Owner:
Type: enhancement | Status: closed
Priority: high | Milestone:
Component: General | Version: 3.0
Severity: normal | Resolution: invalid
Keywords: hook action pending |
---------------------------------+------------------------------------------
Changes (by jamescollins):
* status: new => closed
* resolution: => invalid
* milestone: 3.0 =>
Comment:
I suggest you take a look at the {{{wp_transition_post_status()}}}
function and associated {{{transition_post_status}}} hook in wp-
includes/post.php.
This hook allows you to see the new status, the old status, and the post
data.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13001#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list