Advertisement
Guest User

Untitled

a guest
Jul 21st, 2010
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. // Leitet den ausgeloggten User auf die Startseite
  2. function tf_logout_redirection()
  3. {
  4.     global $bp;
  5.     $redirect = $bp->root_domain;
  6.     wp_logout_url( $redirect );
  7. }
  8. add_action('wp_logout','tf_logout_redirection');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement