true, 'show_in_menu' => true, ], 'objects' ); foreach ( $post_types as $post_type ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited if ( 'attachment' === $post_type->name ) { continue; } ?>
true, ], 'objects' ); foreach ( $taxonomies as $taxonomy ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited if ( 'post_format' === $taxonomy->name ) { continue; } ?>