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).
Useage
add_filter( 'wpmem_logout_link', function ( $string ) {
return "https://mysite.com/?a=logout";
});