A framework is a pre-built foundation of code that developers build on top of, rather than starting completely from scratch. It provides the basic structure and common tools, leaving developers free to focus on what makes their specific project unique.
In WordPress, you might hear “framework” used to describe theme frameworks — a base theme structure that other themes are built upon — or CSS frameworks that provide ready-made styling patterns.
A Simple Analogy
Think of a framework like a house’s foundation and frame already built. You still decide on the paint, furniture, and layout of each room, but you’re not pouring concrete or building walls from raw materials yourself.
Frameworks vs Plugins
A plugin usually adds a specific, self-contained feature to WordPress. A framework is broader — it’s a foundation other code is built on top of, rather than a finished feature in itself.
Do You Need to Know This?
Not really, unless you’re developing themes or plugins yourself. It’s mainly useful vocabulary for understanding conversations among developers or when reading about how a particular theme or tool was built.