wordpress logout link
<a href="<?php echo wp_logout_url( home_url() ); ?>">Logout</a>
wordpress logout link
<a href="<?php echo wp_logout_url( home_url() ); ?>">Logout</a>
wordpress logout to home page
// on your theme -> functions.php -->
add_action('wp_logout','auto_redirect_after_logout');
function auto_redirect_after_logout(){
wp_safe_redirect( home_url() );
exit;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us