I've been searching in the codex from wordpress and search through google but didn't find any function or any code that can help me.
I want to build a conditional that when there is a new custom post type should do something automatically(in one case specific create a marker in a map).
Any suggestion?
Thanks
save_post
hook is well enough for that, checking against the$post->post_type
.