Legend:

The code above will fire whenever a "new" or "Auto Draft" post is saved, published, or scheduled. Considering a post has to be created in the database to give you an ID to work with, this is the absolute closest you can get to actually hooking in at creation time.

22

23

That said, I'll refresh the patch anyway in case you ''really'' need to use the hook.