Filters the HTML link to the Registration or Admin page.
Description
Users are sent to the admin page if logged-in, or the registration page if enabled and logged-out.
Parameters
$link
string- The HTML code for the link to the Registration or Admin page.
Source
$link = apply_filters( 'register', $link );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
Example migrated from Codex:
Change the register link