Hi @lestra,
Thanks for your message.
You may find this recent thread useful on how to trigger notifications using wp_insert_post: https://wordpress.org/support/topic/duplicate-notifications-6/page/2/
Hope this helps.
Thread Starter
lestra
(@lestra)
It’s me again.
The post you point me to, I don’t understand, but your plugin started to send notifications nicely without any action from my side. But suddenly it stoped sending notifications if product is created with my scrape plugin. Plugin is same version as everything else. I tried SMTP option with plugin you suggested but no luck. If I create product manually, notification works.
I can’t find what is going on. One day it works another don’t. I am on dedicated server and can change server settings if you think it can help. What do you think?
Hi @lestra,
Ah, I think that may be the problem.
What is the scraping plugin that you’re using?
Thread Starter
lestra
(@lestra)
BNFW thanks for response and sorry for delay. I am using Scrapes plugin
Hi @lestra,
Ah, yes, pretty sure that’s the problem unfortunately.
The plugin seems to inserting posts directly into the database as opposed to saving them and then transitioning them from draft to publish. As such, it’s unlikely BNFW will be able to send out notifications for them.