Re: Upon login/registration redirect to Activity Stream?
Can’t you do something like this?
<?php
function login_redirect_activity ()
{
wp_redirect (get_option(‘siteurl’) . ‘/activity/’);
}
add_action (“wp_login”, “login_redirect_activity”);
?>
The location it redirects to might be wrong. Here’s the reference for the wp_redirect if you want to redirect it somewhere else: https://codex.wordpress.org/Function_Reference/wp_redirect You might have to play with it to redirect to the right place. You also might want to hook it to a different action, but this will hopefully get you closer. I’m still learning this stuff.