Thread Starter
dreyz
(@dreyz)
Thank you, Rachel!
Now it worked with this fix! 🙂
Your plugin really helped me with my site!
Thanks!
Thread Starter
dreyz
(@dreyz)
Rachel, I tested it and found that the function does not work when I’m not logged in wp admin section. And when run by cron is also not authorized.
Maybe somewhere inside the function is checking whether the user is authorized, session or cookies?
Because when I logged in and run the script in the browser (manually in the browser not by cron) it works fine!
I hope this will help you find the problem.
Thanks