Filter hook to filter the user’s sidebar status when logged in.

The generated sidebar status is passed to the filter.  You can used this, edit it, or add to it ahead and/or behind.


add_filter( 'wpmem_sidebar_status', 'my_sidebar_status' );

function my_sidebar_status( $string ) 
	$string comes in as an html string of:
	<p>You are logged in as {username}<br />
	<a href="">
	click here to logout</a></p>

	You can do something here to filter that,
	change it, or append to it.

	return $string;


See a list of all filter and action hooks