Skip to content

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

ParameterTypeDescription
$sslverifyboolWhether to verify the remote SSL certificate; true by default.

Returns bool — Whether to verify the TLS certificate.

Fires in

Example

boolean_smtp_notification_sslverify.php
add_filter( 'boolean_smtp_notification_sslverify', function ( bool $sslverify ) {
return $sslverify;
}, 10, 1 );

Next steps