boolean_smtp_notification_sslverify
Filters whether outbound notification requests verify the remote SSL certificate.
filter Tier B Since 1.0.0
Signature
add_filter( 'boolean_smtp_notification_sslverify', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$sslverify | bool | Whether to verify the remote SSL certificate; true by default. |
Returns bool — Whether to verify the TLS certificate.
Fires in
app/Services/Notification/Support/RemoteNotificationClient.php:59—BooleanSmtp\Services\Notification\Support\RemoteNotificationClient::postJson()app/Services/Notification/Support/RemoteNotificationClient.php:165—BooleanSmtp\Services\Notification\Support\RemoteNotificationClient::postTelegramApi()app/Services/Notification/Support/RemoteNotificationClient.php:224—BooleanSmtp\Services\Notification\Support\RemoteNotificationClient::getTelegramApi()
Example
add_filter( 'boolean_smtp_notification_sslverify', function ( bool $sslverify ) { return $sslverify;}, 10, 1 );Next steps
- Notifications — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.