I want to create a plugin, through that plugin user can publish new post, without using Wordpress post option. Is there any solution available?
If you want to publish a post from a Plugin, then you have to call the wp_insert_post() function, with the appropriate details of the new post that you want to create.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.