Hello, I have a wordpress site that I do post scheduling. What I want is that after it is published, activate a function that does something.
I have seen how to put in the functions.php but I do not know how I call this function after the scheduled posts are published.
For example I have one post scheduled for 12:00, another for 13:00, another for 14:00. Every time a post is scheduled, this function is called.
How do I do this?
NOTE: I do not want to use plugins.
Thank you!