Title: wp_insert_post()
Last modified: November 17, 2020

---

# wp_insert_post()

 *  Resolved [Winston](https://wordpress.org/support/users/anarchoi/)
 * (@anarchoi)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/wp_insert_post-8/)
 * Hi,
 * Your plugin is not auto-posting the articles inserted to WP using PHP function
   wp_insert_post()
 * If I post the article manually, it works, but not if the article is created with
   wp_insert_post()
 * any workaround?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Simon Frey](https://wordpress.org/support/users/l1am0/)
 * (@l1am0)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/wp_insert_post-8/#post-14034735)
 * Not at the moment. There is an issue regarding this on github: [https://github.com/simonfrey/mastodon_wordpress_autopost](https://github.com/simonfrey/mastodon_wordpress_autopost)
 * Please follow up there so someone else could work on it. I am currently not investing
   much time into this plugin and would love someone else to jump in.

Viewing 1 replies (of 1 total)

The topic ‘wp_insert_post()’ is closed to new replies.

 * ![](https://ps.w.org/autopost-to-mastodon/assets/icon-256x256.png?rev=1674300)
 * [Mastodon Autopost](https://wordpress.org/plugins/autopost-to-mastodon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autopost-to-mastodon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autopost-to-mastodon/)
 * [Active Topics](https://wordpress.org/support/plugin/autopost-to-mastodon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autopost-to-mastodon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autopost-to-mastodon/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Simon Frey](https://wordpress.org/support/users/l1am0/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/wp_insert_post-8/#post-14034735)
 * Status: resolved