Does a hook exist for when a new content type is created? If so what is it? I've looked through the API and nothing has jumped out at me.

1 Answer 1


hook_node_type_insert() is invoked from node_type_save() after the node type is added to the database.

See: hook_node_type_insert()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.