how to send email to administrator when someone edit post

I made custom-post-type(book). And in my site, anyone can register and write book(custom-post-type) and also edit this book post-type.
And I want to get email-alarm when someone edit their book post-type.
Is there some ways to code like this without plugin?

Thank you.

Read more here:: how to send email to administrator when someone edit post

Leave a Reply

Your email address will not be published. Required fields are marked *