boolean_smtp_health_check
Fires on the health-check interval; each run probes every active connection.
action (WP-Cron) Tier B Since 1.0.0
Scheduled on `init` when not yet scheduled, at the interval the `health_check_interval` setting defines (the `boolean_smtp_health` WP-Cron schedule). The per-connection outcome is announced through `boolean_smtp_health_check_result`.
Signature
add_action( 'boolean_smtp_health_check', $callback, 10, 0 );Parameters
No parameters.
Fires in
app/Jobs/HealthCheckJob.php:0—BooleanSmtp\Jobs\HealthCheckJob::()
Example
add_action( 'boolean_smtp_health_check', function () { // React to the event.}, 10, 1 );Next steps
- Connections and OAuth — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.