Hook
A WordPress hook is an extension point that allows custom code to run without editing WordPress core files.
The two primary hook types are actions and filters. Plugins and themes attach callback functions to named hooks.
The extension points WordPress exposes
The two primary hook types are actions and filters. Plugins and themes attach callback functions to named hooks. In practical terms, Hook belongs to the publishing and site-management layer. Knowing that layer is important because it tells you what the term can change, what it cannot change, and where to look when something behaves unexpectedly.
Core reaching a hook and custom code responding
Hooks let custom code run at defined points without editing WordPress core files.
Where hooks keep changes out of core
You do not need to memorize the term in isolation. It becomes useful when you can recognize it in the tool, browser, file or conversation where the concept is doing real work.
A Hook is the umbrella; actions and filters differ
A WordPress hook is an extension point that allows custom code to run without editing WordPress core files. By contrast, A WordPress action hook allows registered callback functions to run at a particular point in WordPress execution. The two can appear in the same project, but they describe different parts of the work and should not be used as interchangeable labels.
The mistake: using “hook” without saying what data or event is involved
The common mistake is to use Hook as if it also meant Action Hook. That blurs two separate decisions and usually sends troubleshooting in the wrong direction. A better test is practical: Identify whether the hook is an action or filter and verify the callback priority and accepted arguments.
Why extension points make WordPress customizable
In day-to-day work, Hook matters when code needs to run at a WordPress event or modify a value without editing core files. The practical value is not the vocabulary itself; it is being able to identify the right control, file, setting or decision when the concept becomes relevant.
Hooks let custom code run at defined points without editing WordPress core files. That example is useful because it turns the definition into something you can recognize, test and discuss with other people working on the same project.
Related terms worth learning next
Sources and further reading
Use these references when you need documentation-level detail, specifications or product-specific behavior beyond the plain-English explanation above.