How to show a message to a user?

You could use javascript if you wanted. So wherever the button click is checked, you could add something like this: <?php $message = “Your comment has been submitted”; echo “<script type=”text/javascript”>alert(‘$message’);</script>”; ?> That is if it is supposed to happen when they click the button – I might be misinterpreting the question.

Check if “Send the new user an email about their account” is ticked

I believe I found a solution. Not sure if it is the best solution but at least it serves the purpose: if ( !function_exists(‘wp_new_user_notification’) ) { function wp_new_user_notification( $user_id, $plaintext_pass=”” ) { if($_POST[‘action’] == ‘createuser’){ if($_POST[‘send_user_notification’] == 1){ $user = new WP_User($user_id); $plaintext_pass = $_POST[‘pass1’]; wp_set_password( $plaintext_pass, $user_id ); $user_login = stripslashes($user->user_login); $user_email = stripslashes($user->user_email); … Read more

Custom User Notice Upon Login

You could add code via the wp_login() hook; see how it works here: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_login . The hook would be placed in your Child Theme’s function.php file (always use a Child Theme; you never want to modify theme code, as your code changes will be overwritten on a theme update).

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