Description
This filter hook allows you to change the URL that is used to log a user out. The default link is the result of the WP function home_url() plus the /?a=logout querystring, such as http://yoursite.com/?a=logout.
If you need/want to change this URL to something else (such as using the WP default logout process or some other process), this hook will allow you to change the link returned for logout.
This link is used by the sidebar widget, the display status function, and in the logged in state of various shortcode pages (login and register).
Usage
add_filter( 'wpmem_logout_link', 'my_logout_link' ); function my_logout_link( $string ) { $string = "http://mysite.com/?a=logout"; return $string; }
See a list of all filter and action hooks