Redirecting users who log in by social login (FB / Google) to the user settings page
One filter in your child theme sends users who sign in with Facebook or Google to their settings page in the user panel instead of the default destination.
1 minute read
Add this code to your child theme's functions.php. It hooks the listivo/socialAuth/redirectUrl filter and returns the settings page of the user panel.
functions.php
add_filter('listivo/socialAuth/redirectUrl', function () {
return \Tangibledesign\Listivo\Widgets\General\PanelWidget::getUrl(\Tangibledesign\Listivo\Widgets\General\PanelWidget::ACTION_SETTINGS);
});
Ask the people who build Listivo
We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.
We can also run your site for you, or build a new one.
Was this guide helpful?