apply_filters( 'loginout', string $link )

Filters the HTML output for the Log In/Log Out link.

Parameters

$link

(string) The HTML link content.

More Information

loginout filters the HTML output for the Log In/Log Out link generated by the wp_loginout() function.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

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