8 | | The media panel is not determining to show it based on the array. Continuing to look into where that is linked. |
| 8 | Tested the array's output by printing it to screen. The below function (added to theme's function.php) gives the desired removal of the caption from the array but the media panel is not determining to show it based on this array. Continuing to look into where that is linked. |
| 9 | {{{ |
| 10 | add_action( 'init' , 'my_remove_post_type_support' , 10 ); |
| 11 | function my_remove_post_type_support() { |
| 12 | remove_post_type_support( 'attachment', 'caption' ); |
| 13 | global $_wp_post_type_features; |
| 14 | print_r($_wp_post_type_features); |
| 15 | } |
| 16 | }}} |