apply_filters( 'register', string $link )

Filters the HTML link to the Registration or Admin page.


Description Description

Users are sent to the admin page if logged-in, or the registration page if enabled and logged-out.


Top ↑

Parameters Parameters

$link

(string) The HTML code for the link to the Registration or Admin page.


Top ↑

More Information More Information

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.


Top ↑

Source Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.