Filter
rpress_get_user_verification_request_url
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#
| Parameter | Type | Description |
|---|---|---|
$url | string | Request URL. |
$user_id | int | ID 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), inrpress_get_user_verification_request_url()
See also#
Was this page helpful?
