Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: loginout

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

This hook occurs 2 times in this file.

Line Code
388
389      if ( $display ) {
390           /**
391            * Filters the HTML output for the Log In/Log Out link.
392            *
393            * @since 1.5.0
394            *
395            * @param string $link The HTML link content.
396            */
397           echo apply_filters( 'loginout', $link );
398      } else {
399           /** This filter is documented in wp-includes/general-template.php */
400           return apply_filters( 'loginout', $link );
401      }
402 }
403
404 /**
405  * Retrieves the logout URL.
406  *
407  * Returns the URL that allows the user to log out of the site.
408  *
409  * @since 2.7.0