Skip to content
Docs
Get RestroPress

Filter

rpress_get_user_verification_request_url

Updated
On this page

Filters the URL that requests a new verification email.

Runs in rpress_get_user_verification_request_url(). The URL is the current URL with rpress_action=send_verification_email added and a nonce for rpress-request-verification, escaped with esc_url().

Parameters#

ParameterTypeDescription
$urlstringRequest URL.
$user_idintID of the user (defaults to the current user).

Return value#

string. Request URL.

Example#

function my_verification_request_url( $url, $user_id ) {
	return $url . '#verify';
}
add_filter( 'rpress_get_user_verification_request_url', 'my_verification_request_url', 10, 2 );

Source#

Applied in:

  • includes/user-functions.php (line 655), in rpress_get_user_verification_request_url()

See also#

Was this page helpful?