I'd like to find a way to fill some of the fields from the /wp-admin/post-new.php
page from an external source.
It works for the title: loading /wp-admin/post-new.php?post_title=title1
fills the title input with title1
.
You get the idea, what would be great is something like /wp-admin/post-new.php?post_title=title1&content=content1&tags=tag1,tag2&cat=cat1,cat2
... so that when I arrive on the post-new.php
with most fields already filled from an outside script.
I would need to fill in custom fields as well.
How can I do that? What's the best option? A full external script that connects to the base my himself and run insert queries? A plugin? If so, do you have some suggestions?