/** * Plugin Name: Cron Probe */ add_action('init', function () { if (defined('DOING_CRON') && DOING_CRON) { error_log('[cron-probe] DOING_CRON hit at '.gmdate('c').' uri='.($_SERVER['REQUEST_URI'] ?? '')); } });