Adding a custom button to WordPress Add Post (and Edit Post too) screen, that can save the post

Well, the solution couldn’t be more obvious.

The Add New Post screen is a one big form. Any <input type="submit"/> element you put in it will save the post.

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