Registered access area

Ok i solved with this way: // Redirect guest users function login_redirect() { global $pagenow; // If user is not loged in and not in the login page if(!is_user_logged_in() && $pagenow != ‘wp-login.php’) auth_redirect(); } add_action( ‘wp’, ‘login_redirect’ );

Exclude Current user email and send notification

First, you should know that current_user_can() only accepts capabilities, not roles, so you are using it wrong and you can end up with unexpected results. That being said, to exlude users form WP_User_Query you can use the exclude parameter: // Get current user data $user = wp_get_current_user(); // Check if current user is a subscriber … Read more

Is Multisite the RIGHT option for my case?

There is really no answer given the limited facts in the question. Are you requiring that users login to see pages/data? If not I don’t see why you would care to share user tables. There will be some things that multisite will handle better but there will be some things (handling certain plugins) that multisite … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)