fix column hook for admin previews

This commit is contained in:
Robin Cornett
2015-02-28 10:26:39 -05:00
parent 4d916fc4ff
commit 5dc0619248
@@ -53,7 +53,7 @@ class Display_Featured_Image_Genesis_Admin {
$post_types['page'] = 'page';
foreach ( $post_types as $post_type ) {
if ( post_type_supports( $post_type, 'thumbnail' ) ) {
add_filter( "manage_{$post_type}_posts_columns", array( $this, 'add_column' ) );
add_filter( "manage_edit-{$post_type}_columns", array( $this, 'add_column' ) );
add_action( "manage_{$post_type}_posts_custom_column", array( $this, 'custom_post_columns' ), 10, 2 );
}
}