I have a question about wordpress cron job. I have created a website using elementor page builder. I made a form for client which my client used to send invoices to their clients. Once my client submit the invoice form it creates post inside custom post type called "Invoices".

when new invoice created I want a cron job function that updated that posts once after the new invoice created.

Please give me solution how can I setup cron job that only update newly created post only not others.

thanks in advance.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.