---
url: /api/platforms/wordpress/src.md
---
[pantoken-root](../../../index.md) / wordpress

# wordpress

## Compatibility

Target: WordPress block themes. Current format: `theme.json v3`. Minimum host version: `6.6`. Tested through `7.1.2`. Newer releases require review.

[Full compatibility matrix](../../../../compatibility)

Experimental

`@pantoken/wordpress` — Instructure design tokens as a WordPress block-theme `theme.json`.

[toThemeJson](functions/toThemeJson.md) converts any IR; [themeJson](variables/themeJson.md) is the ready-made `rebrand` document. The
CLI can write it into a theme directory: `pantoken generate wordpress --out ./my-theme`.

## Interfaces

* [ThemeJson](interfaces/ThemeJson.md)
* [ToThemeJsonOptions](interfaces/ToThemeJsonOptions.md)

## Type Aliases

* [Mode](type-aliases/Mode.md)

## Variables

* [themeJson](variables/themeJson.md)

## Functions

* [toThemeJson](functions/toThemeJson.md)

## References

### default

Renames and re-exports [themeJson](variables/themeJson.md)
