Creating a custom post type – want to add an alert for user

I think you’ll need to combine the save_post hook (codex link here) and the admin_notices hook (codex link here). I know link only answers are normally not acceptable, but I think you should start with reading some codex stuff :-). Hope this helps!

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