Closed tarecord closed 2 years ago
Removes the core login_redirect and replaces it with siwg_login_redirect for users to modify the redirect after authentication.
login_redirect
siwg_login_redirect
Ideally, the plugin should use the core filter (i.e. add_filter( 'login_redirect', 'some_function', 10, 1 );) but this closes #96 for now.
add_filter( 'login_redirect', 'some_function', 10, 1 );
Removes the core
login_redirect
and replaces it withsiwg_login_redirect
for users to modify the redirect after authentication.Ideally, the plugin should use the core filter (i.e.
add_filter( 'login_redirect', 'some_function', 10, 1 );
) but this closes #96 for now.