I have a custom post, whenever someone creates a new instance of this post I want to add some custom fields to it. Whats the easiest way to do such a thing?
Is detecting the post creation save_post and call add_post_meta to add the custom fields? Or is there a better/easier way? Maybe I can register the custom fields at the time I register the custom post?
Read more here:: Enforce all custom posts have specific custom fields