Answers for "logout wordpress function"

PHP
1

wp wordpress logout

<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
Posted by: Guest on June-30-2021
0

wordpress programmatically logout

wp_destroy_current_session();
wp_clear_auth_cookie();
wp_set_current_user( 0 );
Posted by: Guest on December-09-2020
0

wordpress logout

wp_logout()
Posted by: Guest on October-13-2020

Browse Popular Code Answers by Language