Documentation / Filters / Modify post age column to last modified

Modify post age column to last modified

By the default the maximum post age is based on the post_date of a posts, this is the date that the post was published. In some cases you might want to base the post age on the last time it was modified (the post_modified column). This is possible with the ‘rp4wp_post_age_column’ filter.

function rp4wp_change_post_age_column( $column ) {
return 'post_modified';
}
add_filter( 'rp4wp_post_age_column', 'rp4wp_change_post_age_column' );