Site icon Hip-Hop Website Design and Development

The right way to specify person ID for a CPT wp_insert_post when there isn’t any precise person (it is programmatic)

Right here’s what I hope is a straightforward query. When utilizing wp_insert_post so as to add a customized put up sort report, if the put up writer isn’t an precise editorial person, however as a substitute an externally-driven information merchandise (in my case, a log entry), how ought to the post_author subject be specified? Do I simply decide a person ID, go away it clean, or set it to one thing like 1? Thanks!