I am creating a hit counter that counts the number of page views across all post types. I have gotten it to work and the column displays for each post type showing the total number of page views. I was able to get the column to show up for every post type by using the following filter.
I want to make this a portable column. I have gotten this to work for the main posts, post type, but i dont know how to make it show up for every post type without actually creating a filter for every post type.
The following filter will make the column sortable for the default post, but i have several post types and this isn't working. Is there a catch all filter for this?
add_filter( 'manage_edit-post_sortable_columns', 'managesortablecolumns' );