Learn about how to interact with Themes using WPGraphQL
import GraphiQL from '../../components/GraphiQL';
Themes are a core tenant in every WordPress site. WPGraphQL exposes native ways to interact with Themes via GraphQL.
Query all themes on the site:
Query a specific theme by ID by replacing the ID below with an ID from the response above to query a specific theme:
Right now there are no Mutations related to Themes.
If anyone feels that adding mutations for themes, such as changing the active theme, installing new themes, or deleting themes should be added to WPGraphQL, open an issue and let's discuss.