wpseek.com
A WordPress-centric search engine for devs and theme authors



register › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'register', $link )
Parameters:
  • (string) $link The HTML code for the link to the Registration or Admin page.
    Required: Yes
Defined at:
Codex:

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.





Source

$link = apply_filters( 'register', $link );