[wp-hackers] Hooks edit_comment / edited_comment

Dino Termini dino at duechiacchiere.it
Thu Aug 11 13:22:30 UTC 2011


Yes, it is possible with the delete action, but not with the edit.

On 8/11/2011 8:38 AM, Daniel Fenn wrote:
> This must be possible because there a plug-in that let you do ajax
> delete and such. Unless I mistaken what you mean
>
> On 11/08/2011, Dino Termini<dino at duechiacchiere.it>  wrote:
>> Hi there,
>>
>> I was looking at the documentation for edit_comment, and I see there's
>> only one hook executed AFTER the comment has been edited. Would it be
>> possible to have something like delete_comment / deleted_comment, or in
>> other words two hooks, one executed BEFORE the comment is edited (useful
>> to see what has been changed) and one AFTER? I could not find any
>> tickets for this, should I add one to trac as a feature request?
>>
>> Thanks,
>> Dino.
>> _______________________________________________
>> 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