function oa_social_login_redirect_url ($redirect_to, $user_data) { // Remove existing hash $redirect_to = strstr($redirect_to, '#', true); // Add new $redirect_to = $redirect_to .'#my-hash-here'; // Done return $redirect_to; } add_filter('oa_social_login_filter_registration_redirect_url', 'oa_social_login_redirect_url'); add_filter('oa_social_login_filter_login_redirect_url', 'oa_social_login_redirect_url');
Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
here is what I have send you by email:
For WordPress you can use a filter.
The following function should do the trick:
function oa_social_login_redirect_url ($redirect_to, $user_data) { // Remove existing hash $redirect_to = strstr($redirect_to, '#', true); // Add new $redirect_to = $redirect_to .'#my-hash-here'; // Done return $redirect_to; } add_filter('oa_social_login_filter_registration_redirect_url', 'oa_social_login_redirect_url'); add_filter('oa_social_login_filter_login_redirect_url', 'oa_social_login_redirect_url');