This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Direct Logout

Sharraxaad

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

Sawir-shaashado

  • Control Panel

SBI

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’ );

?>

Dibu-eegisyo

Akhri dhammaan 2 dibu-eegis

Ka-qaybgalayaasha & Horumariyayaasha

“Direct Logout” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

“Direct Logout” waxaa lagu tarjumay 1 luqad. Way ku mahadsan yihiin turjumaannada ka-qaybqaadashadooda.

Ku tarjun “Direct Logout” luqaddaada.

Ma xiisaynaysaa horumarinta?

Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.

Isbeddellada

None