I have successfully added an event via wp_schedule_event and I’d like to trigger it manually without disrupting the existing schedule.

Is there a way to tell WP to execute an event immediately without the cha-cha where I have to swap values in-and-out to get the event to fire and save/restore the existing (pre-manual call) timing on the event?

1 Answer
1

Why not just to do_action($hook) of your cronned event?

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *