require_capability#
Exceptions#
| Exception | Description |
|---|---|
| MissingCapabilityException | Exception thrown when a required capability is missing from the theme. |
Functions#
| Function | Description |
|---|---|
| requireCapability<T> | Require a capability from the theme, throwing a standardized error if missing. |