Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2010
204
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function tf_redirect() {
  2.     global $bp;
  3.     if( is_user_logged_in() && bp_is_page( BP_ACTIVATION_SLUG ) ) {
  4.         bp_core_redirect( $bp->loggedin_user->domain . BP_XPROFILE_SLUG . '/edit/' );
  5.     }
  6. }
  7. add_filter('wp','tf_redirect');
Advertisement
RAW Paste Data Copied
Advertisement