added function "get_last_edited_date" to posts