| @@ -15,19 +15,16 @@ | ||
| 15 | 15 | unset( $post_types['revision'] ); |
| 16 | 16 | unset( $post_types['nav_menu_item'] ); |
| 17 | 17 | |
| 18 | 18 | foreach( $post_types as $post_type => $options ) { |
| 19 | - | |
| 20 | - if( !in_array( $post_type, WPUltimatePostGrid::option( 'meta_box_hide', array() ) ) ) { | |
| 21 | - add_meta_box( | |
| 22 | - 'wpupg_meta_box_post', | |
| 23 | - 'WP Ultimate Post Grid', | |
| 24 | - array( $this, 'meta_box_post' ), | |
| 25 | - $post_type, | |
| 26 | - 'normal', | |
| 27 | - 'high' | |
| 28 | - ); | |
| 29 | - } | |
| 19 | + add_meta_box( | |
| 20 | + 'wpupg_meta_box_post', | |
| 21 | + 'WP Ultimate Post Grid', | |
| 22 | + array( $this, 'meta_box_post' ), | |
| 23 | + $post_type, | |
| 24 | + 'normal', | |
| 25 | + 'high' | |
| 26 | + ); | |
| 30 | 27 | } |
| 31 | 28 | |
| 32 | 29 | } |
| 33 | 30 | |