W3cubDocs

/WordPress

apply_filters( 'register', string $link )

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

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/register