Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 'custom' :
- // Send 'em to the specified URL
- $redirect_to = $redirection["{$type}_url"];
- // Allow a few user specific variables
- $redirect_to = str_replace(
- array(
- '%user_id%',
- '%user_nicename%'
- ),
- array(
- $user->ID,
- $user->user_nicename
- ),
- $redirect_to
- );
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement