Actions to use when flushing cache (when posts are added / deleted / modified)

Yes, ‘save_post’ and ‘delete_post’ cover everything, except modifying meta and terms associated to a post. Those hooks can be found in wp-includes: meta.php and taxonomy.php, respectively.

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