Ovaj dodatak nije testiran s najnovija 3 glavna izdanja WordPress-a. Možda se više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada se koristi sa novijim verzijama WordPress-a.

Direct Logout

Opis

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

Slike ekrana

ČPP

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

Recenzije

Read all 2 reviews

Saradnici i programeri

“Direct Logout” is open source software. The following people have contributed to this plugin.

Doprinositelji

“Direct Logout” je prijeveden na 1 dijalekt. Zahvala prevodiocima za njihov doprinos.

Prevedi “Direct Logout” na vaš jezik.

Zainteresirani za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Zapis promijena

None