apply_filters( 'register_url', string $register )
Filters the user registration URL.
Description Description
Parameters Parameters
- $register
-
(string) The user registration URL.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Do you want to use a custom registration page? Modify the registration page URL using
register_url.Update the link with your actual registration page URL.
add_filter( 'register_url', 'change_my_register_url' ); function change_my_register_url( $url ) { if( is_admin() ) { return $url; } return "/custom-register-url/"; }