Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit an event when a post/page already exists, also.
Creation of new_post successfully emits an event, but no event is fired new_post fails because there is an existing post. This event can be used by plugins, for e.g. open the post in an editor or prompt to delete the post, etc.
- Loading branch information