In this article

filter

jetpack_account_protection_send_auth_email

Filters whether the Account Protection verification email should be handled externally. When the filter returns a truthy value, the default WPCOM API email send is skipped, allowing sites to deliver the email locally (e.g. via `wp_mail()`).

Parameters

$handled
bool

Whether the email has been handled. Default false.

$user_id
int

The user ID.

$auth_code
string

The authentication code.

$blog_id
int

The blog ID, or false if not available.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.