Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @bcworkz, look at the code ?? wp-includes/cron.php and wp-cron.php. But it looks that you already have ??

    Sorry about the array argument. You’re right, it is documented, but I didn’t think so when I wrote the post.

    Even if this was long ago I’ll post an answer.

    After some digging in the wordpress cron files I found the following:

    * wp_schedule_single_event is using microseconds instead of seconds as the documentation says.
    * Arguments must be passed as arrays. My php/apache error log was warning about some executed array functions on non-arrays. It’s do_action_ref_array that is used by the scheduler code that requires arrays as arguments. This is also not documented.

Viewing 2 replies - 1 through 2 (of 2 total)