Skip to content

boolean_smtp_debug_http_mailer_url_match

Filters whether a URL not matched by the built-in provider list counts as mail-related.

filter Tier C Since 1.0.0

Signature

add_filter( 'boolean_smtp_debug_http_mailer_url_match', $callback, 10, 2 );

Parameters

ParameterTypeDescription
$matchesboolWhether the URL should be treated as mail-related. Default false.
$urlstringThe URL being checked.

Returns bool — Whether the URL belongs to a mailer.

Fires in

Example

boolean_smtp_debug_http_mailer_url_match.php
add_filter( 'boolean_smtp_debug_http_mailer_url_match', function ( bool $matches, string $url ) {
return $matches;
}, 10, 2 );

Next steps