תוסף זה לא נבדק ב-3 הגרסאות הראשיות האחרונות של וורדפרס. ייתכן והתוסף כבר לא מתוחזק או נתמך על ידי יוצריו, וייתכן שיהיו לו בעיות תאימות בגרסות וורדפרס עדכניות יותר.

Direct Logout

תיאור

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

צילומי מסך

  • Control Panel

שאלות נפוצות

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

?>

סקירות

10 בדצמבר 2021
Plugin simples e eficiente. Simple and efficient plugin.
קראו את כל 2 הסקירות

מפתחים

"Direct Logout" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.

תורמים

“Direct Logout” תורגם לשפה 1. תודה רבה למתרגמים על תרומתם.

ניתן לתרגם את "Direct Logout" לשפה שלך.

מעוניינים בפיתוח?

עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.

שינויים

None