id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 51605 Cron hook does not receive $args array chadreitsma johnbillion "I have the following code: {{{ add_action('my_cron_hook', 'do_cron_hook'); function do_cron_hook($args) { print_r($args); exit(); } }}} I have scheduled the hook to fire at a specific time with: wp_schedule_single_event() with the $args array('message_id' => 1234, 'test' => 'test'); When the hook fires - print_r only displays ""1234"" like the array has been disassociated. Why is the array not passed to the hook?" defect (bug) closed normal 5.6 Cron API normal fixed has-patch docs