is it possible to create posts with a wordpress plugin by entering a title, content, category and custom field (important)? Somehow I can't find anything about it in the documentation: http://codex.wordpress.org/Plugin_API or on Google.
Thanks, Rik.
The function for doing that is wp_insert_post.
I've always found WordPress reference section a bit of a PITA to navigate. So you might want to bookmark this page - http://codex.wordpress.org/Function_Reference It has a list of all (most) of the available functions for WordPress.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With