wp logout link code example Example: wordpress logout link <a href="<?php echo wp_logout_url( home_url() ); ?>">Logout</a>