Preheat your oven to 350°F (175°C) and grease a bundt pan.
Mix the Dry Ingredients: In a large bowl, combine the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. Whisk them together until well blended.
Prepare the Wet Ingredients: In another large bowl, mix the vegetable oil and granulated sugar until smooth. Add the eggs one at a time, mixing well after each addition.
Add the Carrots: Stir in the grated carrots and crushed pineapple, along with the nuts if you’re using them.
Combine the Mixtures: Gradually fold in the dry ingredient mixture into the wet ingredients, ensuring not to overmix.
Make the Cheesecake Filling: In a separate bowl, beat the cream cheese until smooth. Mix in the powdered sugar and vanilla extract until creamy.
Assemble the Cake: Pour half the carrot cake batter into the bundt pan. Carefully add the cheesecake mixture on top and then pour the remaining carrot cake batter over it.
Bake: Place in the oven and bake for 50-60 minutes or until a toothpick comes out clean. Allow it to cool for about 10-15 minutes before transferring to a wire rack.
Slice, serve, and enjoy the deliciousness!