wp_insert_post not fired with current version of an Order on save · Issue #18007 · woocommerce/woocommerce · GitHub
![php - wp_insert_post hook doesn't work when I publish a post from public area. But works fine from admin area. Why? - Stack Overflow php - wp_insert_post hook doesn't work when I publish a post from public area. But works fine from admin area. Why? - Stack Overflow](https://i.stack.imgur.com/U2A6x.png)
php - wp_insert_post hook doesn't work when I publish a post from public area. But works fine from admin area. Why? - Stack Overflow
![wp query - After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel - WordPress Development Stack Exchange wp query - After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel - WordPress Development Stack Exchange](https://i.stack.imgur.com/Qtjdv.png)
wp query - After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel - WordPress Development Stack Exchange
![After wp_insert_post() custom post type does not show in the admin - WordPress Development Stack Exchange After wp_insert_post() custom post type does not show in the admin - WordPress Development Stack Exchange](https://i.stack.imgur.com/QQIOZ.png)
After wp_insert_post() custom post type does not show in the admin - WordPress Development Stack Exchange
![transition_post_status" action creating two post with wp_insert_post - WordPress Development Stack Exchange transition_post_status" action creating two post with wp_insert_post - WordPress Development Stack Exchange](https://i.stack.imgur.com/7kC1U.png)
transition_post_status" action creating two post with wp_insert_post - WordPress Development Stack Exchange
![WP All Import issues when option "Increase speed by disabling do_action calls in wp_insert_post during import" is enabled - WPML WP All Import issues when option "Increase speed by disabling do_action calls in wp_insert_post during import" is enabled - WPML](https://cdn.wpml.org/wp-content/uploads/2020/03/option.png)