Filter
rpress_user_verification_email_heading
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#
| Parameter | Type | Description |
|---|---|---|
$heading | string | The email heading. Defaults to the translated string "Verify your account". |
$user_id | int | ID 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), inrpress_send_user_verification_email()
See also#
Was this page helpful?
