I need some hooks especially for trashing and untrashing custom post types. However the hooks are not so clear in this case.
For example, to run a function on trash, I can use
However there doesn't seem to be any other action specific to custom post types. So how would I execute my function on trashing of a custom post type?