diff --git a/mu-plugins/_core-wp-cron-logger.php b/mu-plugins/_core-wp-cron-logger.php new file mode 100644 index 0000000..510640f --- /dev/null +++ b/mu-plugins/_core-wp-cron-logger.php @@ -0,0 +1,39 @@ +get_error_code(), + $response->get_error_message() + )); + return; + } + if ($response['body'] === '') { + return; + } + error_log(sprintf('WP-Cron output: "%s"', $response['body'])); + }, + 10, + 1 + ); + return $cron_request_array; + }, + 10, + 1 +);