loginout filter-hookWP 1.5.0

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

Usage

add_filter( 'loginout', 'wp_kama_loginout_filter' );

/**
 * Function for `loginout` filter-hook.
 * 
 * @param string $link The HTML link content.
 *
 * @return string
 */
function wp_kama_loginout_filter( $link ){

	// filter...
	return $link;
}
$link(string)
The HTML link content.

Changelog

Since 1.5.0 Introduced.

Where the hook is called

wp_loginout()
loginout
wp-includes/general-template.php 399
echo apply_filters( 'loginout', $link );
wp-includes/general-template.php 402
return apply_filters( 'loginout', $link );

Where the hook is used in WordPress

Usage not found.