apply_filters( ‘loginout’, string $link )

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

Parameters

$linkstring
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

echo apply_filters( 'loginout', $link );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

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