Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tf_redirect() {
- global $bp;
- if( is_user_logged_in() && bp_is_page( BP_ACTIVATION_SLUG ) ) {
- bp_core_redirect( $bp->loggedin_user->domain . BP_XPROFILE_SLUG . '/edit/' );
- }
- }
- add_filter('wp','tf_redirect');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement