Redirect on any specific page after woocommerce login.
function admin_default_page() {
return ‘/new-dashboard-url’;
}
add_filter(‘login_redirect’, ‘admin_default_page’);
Read More Posts
- How to get current user info from wp user database in wordpress?
- How to fetch data (messages) in every second with ajax (setinterval) from mysql (PHP) in wordpress?
- How to remove wordpress footer and header from wordpress plugin page in wordpress?
- How to get warning when exit browser without saving?
- How to enqueue script and css file in child-theme and main plugin file in worpress?