Skip to content

[Feature]: Add more API classes to retrieve data from the WP API #20

@keygun-development

Description

@keygun-development

Description

At the moment you can only receive posts and users. More API classes should be added to get the default rest route data:

  • pages
  • media
  • menu-items
  • blocks
  • templates
  • template-parts
  • navigation
  • types
  • statuses
  • taxonomies
  • categories
  • tags
  • menus
  • comments
  • search
  • block-renderer
  • block-types
  • widgets
  • sidebars
  • plugins
  • themes
  • settings
  • global-types

Suggested Solution

Add more classes to API

Alternatives

Alternative would be to just use the Post class and set the endpoint, but then the types won't match.

Additional Context

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions