How to hook into saving post process?
-
Hi everyone,
I need for my plugin to get a post ID just after it was published. I want to automate some process, so just after an admin create a post (or delete it) I want via some hook get an ID of this post. Then I will use this ID to get category ID and update my data.
Or maybe there is another way to get number of posts in each category everytime this number is updated? I don’t know how to automate the process of calculating and processing this data.
Any help or advice will be highly evaluated.
Slava
- The topic ‘How to hook into saving post process?’ is closed to new replies.