Notice: Undefined variable: string in /home/u665484253/domains/wpcodekit.com/public_html/wp-content/themes/twentytwenty-child/functions.php on line 61
Redirect on any specific page after woocommerce login.
function admin_default_page() {
return ‘/new-dashboard-url’;
}
add_filter(‘login_redirect’, ‘admin_default_page’);