How to display recently modified posts on recent post widget in wordpress

It’s possible to modify the ordering of the Recent Posts widgets through the widget_posts_args filter that accepts WP_Query arguments.

One could order by the post_modified or the post_modified_gmt column.

It might also be possible to use the widget_title filter to target a specific instance or widget title.

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