Bird
0
0

Why does WordPress store media files as 'attachment' post types in the database?

hard📝 Conceptual Q10 of 15
Wordpress - Content Management
Why does WordPress store media files as 'attachment' post types in the database?
ATo integrate media with the post system for easy management
BBecause media files are actually posts with content
CTo prevent media files from being deleted accidentally
DTo separate media files from posts completely
Step-by-Step Solution
Solution:
  1. Step 1: Understand WordPress data structure

    Media files are stored as 'attachment' post types to use the post system features.
  2. Step 2: Analyze options

    This allows easy management, linking, and querying alongside posts.
  3. Final Answer:

    To integrate media with the post system for easy management -> Option A
  4. Quick Check:

    Media as attachment post type = integration = D [OK]
Quick Trick: Media are 'attachment' posts for management ease [OK]
Common Mistakes:
  • Thinking media are normal posts
  • Assuming separation from posts
  • Believing it prevents deletion

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes