Skip to content

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

Example

boolean_smtp_health_check.php
add_action( 'boolean_smtp_health_check', function () {
// React to the event.
}, 10, 1 );

Next steps