[wp-hackers] post relaetd events

Omry Yadan omry at yadan.net
Thu Sep 13 14:14:38 GMT 2007


ah, I was looking at 2.2 and the code says it would be fired for every edit.



Andy Staines wrote:

> That's what I use.
> There has been a problem with publish_post in that it would fire for
> later edits which didn't really make sense. As far as I am aware this
> has been corrected in 2.3
> Andy
>
> On 03:09  PM |  Thu 13 Sep 07, at 03:09  PM |  13 Sep 07, Moritz
> 'morty' Struebe wrote:
>
>> Omry Yadan wrote:
>>> Hi,
>>>
>>> I am trying to figure out if I can get events for the following things:
>>>
>>> 1. new post published for the first time.
>>>
>> publish_post
>>
>>> 2. post title changes (I can live with some kind of "post changed"
>>> event, it doesn't have to be that specific).
>>>
>> save_post
>>
>>
>>>
>>> looking at the code (wp_insert_post), It's not clear if I there are
>>> callbacks for exactly those things.
>>>
>> http://codex.wordpress.org/Plugin_API/Action_Reference
>>
>>
>> Cheers
>> Morty
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list