Filters the HTML link to the Registration or Admin page.
Users are sent to the admin page if logged-in, or the registration page if enabled and logged-out.
$linkstring
The hook filters the HTML link to the Registration or Admin page. Users are sent to the admin page if logged-in, or the registration page if enabled and logged-out.
$link = apply_filters( 'register', $link );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/register