Skip to content
Docs
Get RestroPress

Filter

rpress_user_verification_email_heading

Updated
On this page

Filters the heading of the account verification email.

Runs in rpress_send_user_verification_email() and sets the heading property of the RPRESS_Emails object used for the message. The default is the translated string "Verify your account".

Parameters#

ParameterTypeDescription
$headingstringThe email heading. Defaults to the translated string "Verify your account".
$user_idintID of the user the verification email is being sent to.

Return value#

string. The email heading.

Example#

function my_verification_heading( $heading, $user_id ) {
	return __( 'One more step', 'my-textdomain' );
}
add_filter( 'rpress_user_verification_email_heading', 'my_verification_heading', 10, 2 );

Source#

Applied in:

  • includes/user-functions.php (line 679), in rpress_send_user_verification_email()

See also#

Was this page helpful?