E-Mail Notification on post edit

i think this should help, https://wordpress.stackexchange.com/a/95512/139936 on ‘save_post’ hook, you can send your email. But it will only work on direct update. if you want to wait 24h, you will have to set a cron job that will check every post & send an email with posts updated in the last XX hours.

How can I make error messages in admin

All you need is the correct html markup, namely a paragraph p inside a container div with a certain class. Usable classes are updated green, error & notice-error red, notice-warning orange, notice-info blue. Exemplary usage: add_action( ‘admin_notices’, ‘wpse330943_admin_notices’ ); function wpse330943_admin_notices() { <div class=”notice notice-error”> <p> //some text </p> </div> }

New user notification issue

In your email code you’re using mail PHP function, whereas WordPress uses its own internal wp_mail function that then sends the email using PhpMailer (for many different reasons) .. which should be using PHP’s mail fn but there’s a number of different things that could be causing problems. You can also install the “WP Mail … Read more

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