Descrizione
This plugin remove the “Are you sure you want to log out?” confirmation page once an user logout.
After the logout the plugin lets you choose from redirect:
- Same page
- Login page
- Homepage
- Custom page
FAQ
-
I don’t want to install a plugin for this simple function, do you have a hook?
-
Of course, you can put the following code inside your function.php page, it will redirect ot the login page
query_vars[‘customer-logout’] ) ) {wp_redirect( str_replace( ‘&’, ‘&’, wp_logout_url( wc_get_page_permalink( ‘myaccount’ ) ) ) );
header(“Refresh:0”);
exit;}
}
add_action( ‘template_redirect’, ‘finalmarco_logout’ );?>
Recensioni
Contributi e sviluppo
“Direct Logout” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
Collaboratori“Direct Logout” è stato tradotto in 1 lingua. Grazie a chi traduce per il contributo.
Traduci “Direct Logout” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il codice segui il repository SVN, segui il log delle modifiche tramite RSS.
Changelog
None

