Hi Michael! To my knowledge, you'll have to have the custom post type registered before you can post to it from the frontend. I'd have to look into it deeper to figure out if there's a way to register a CPT from the frontend (although that may not be a good idea in terms of security).
I'll be creating new articles / videos soon, including more about POST requests! Be on the lookout on my Twitter: @jchiatt
.
Cheers!
—J
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Michael! To my knowledge, you'll have to have the custom post type registered before you can post to it from the frontend. I'd have to look into it deeper to figure out if there's a way to register a CPT from the frontend (although that may not be a good idea in terms of security).
I'll be creating new articles / videos soon, including more about POST requests! Be on the lookout on my Twitter: @jchiatt .
Cheers!
—J