Some WordPress API endpoints (e.g. post revisions) must use a <parent> identifier, i.e. they always belong to another parent entity.
The new AbstractWpSubEndpoint makes this simple by offering the possibility to set the parent entity.
Also contains a new endpoint class, PostRevisions.
Some WordPress API endpoints (e.g. post revisions) must use a
<parent>
identifier, i.e. they always belong to another parent entity. The newAbstractWpSubEndpoint
makes this simple by offering the possibility to set the parent entity.Also contains a new endpoint class,
PostRevisions
.Example: