With what hook can I address all posts from all custom post types when they are published?
What about using save_post or wp_insert_post hook, both have @param int $post_ID Post ID. @param WP_Post $post Post object. @param bool $update Whether this is an existing post being updated or not. as parameters. It is pretty self-explaining that the $update can be used to determine, if it … Read more