• Resolved borish1

    (@borish1)


    Hey there,

    Really good plugin you got here. But I need to ask few questions.

    I want to create new cron event for each new woocommerce order that gets created. So it would be pending_payment_{orderID} on monthly recurrence. If the order is marked with specific status (let’s say “paid”) it would delete that cron event so the user doesn’t get the message.

    Questions:
    1. Which hooks you have in this plugin that I could use to create this sort of thing?

    2.Also I saw that we can pass arguments? Does that mean that I can somehow pass the order_id to the argument so once the monthly triggers it can check for the order_id and send only to that ID and not to all the orders?(wouldn’t want to slip that issue haha).

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Hi!

    None of the stuff that you want to do is specific to WP Crontrol (which is just a visual interface to the cron events in WordPress). It can all be done using hooks in WooCommerce and functions such as wp_schedule_event().

    Your best bet is to post in the WooCommerce support forums.

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Create cron events upon new order’ is closed to new replies.