Rule was updated so it doesn’t force redirection to MainWP plugin after login.
You can use this code snippet:
function admin_default_page() {
return '/wp-admin/admin.php?page=mainwp_tab';
}
add_filter('login_redirect', 'admin_default_page');
in the PHP Section of the Custom Dashboard extension to set custom redirection rule. After logging in, you will be redirected right to the MainWP Overview page.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.