0
votes
1answer
182 views

wp_logout_url($redirect) won't logout and redirect ()

Even that I got the code from the wp docs <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a> This is the output when user clicks on it: Warning: ...