On this page
apply_filters( 'register_url', string $register )
Filters the user registration URL.
Parameters
$registerstring-
The user registration URL.
More Information
register_url is a filter applied to the URL returned by the function wp_registration_url() which allows you to have that function direct users to a specific (different) URL for registration.
The URL that is passed to this filter is generated by site_url() using the ‘login’ $scheme:
site_url( 'wp-login.php?action=register', 'login' )
Source
File: wp-includes/general-template.php. View all references
return apply_filters( 'register_url', site_url( 'wp-login.php?action=register', 'login' ) );
Related
Used By
| Used By | Description |
|---|---|
| wp_registration_url() wp-includes/general-template.php | Returns the URL that allows the user to register on the site. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/register_url