threadEntityPostSave
This function is used in several addons. For me it seems this function is called everytime when a post is changed.
To be changed means add/edit, but also a like? Maybe more things?
If so, then a lot of addons do things for a like that are not necessary, like regex text for example.
What is the best way to proof here for add, edit, like, please?
add: isInsert?
edit: maybe is edit_user = post_user?
like: maybe is edit_user != post_user?
This function is used in several addons. For me it seems this function is called everytime when a post is changed.
To be changed means add/edit, but also a like? Maybe more things?
If so, then a lot of addons do things for a like that are not necessary, like regex text for example.
What is the best way to proof here for add, edit, like, please?
add: isInsert?
edit: maybe is edit_user = post_user?
like: maybe is edit_user != post_user?