Wordpress last revision date

Sadiep

New Member
I try to add a column with the date of the last revision and I use this code. Is there something wrong here? The thing is, it doesn't work, but it doesn't give me any error message\[code\]add_filter('manage_pages_columns', 'add_revised_column');add_action('manage_pages_custom_column', 'echo_revised_column', 10, 2);function add_revised_column($columns) {$columns['revised'] = 'Revised';return $columns;}function echo_revised_column($column, $id) {if ('revised' == $column) echo get_post_field('post_modified', $id);}\[/code\]
 
Back
Top